<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>
  <link href='https://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css' /><title>serverStatus &mdash; MongoDB Manual</title><link rel="shortcut icon" href="https://media.mongodb.org/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="robots" content="index" />

  <meta name="release" content="4.2.5"/>
  <meta name="version" content="4.2"/>
  <meta name="DC.Source" content="https://github.com/mongodb/docs/blob/v4.2/source/reference/command/serverStatus.txt"/>
  <meta property="og:image" content="http://s3.amazonaws.com/info-mongodb-com/_com_assets/cms/mongodb-for-giant-ideas-bbab5c3cf8.png">
  <meta property="og:image:secure_url" content="https://webassets.mongodb.com/_com_assets/cms/mongodb-for-giant-ideas-bbab5c3cf8.png">
      <link rel="canonical" href="https://docs.mongodb.com/manual/reference/command/serverStatus" />
  
   <link rel="stylesheet" href="../../_static/mongodb-docs.css" type="text/css" />
   <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
   <link rel="stylesheet" href="../../_static/css/navbar.min.css" type="text/css" />
    
    <script type="text/javascript" src="../../_static/lib/jquery.min.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/lib/bootstrap.js"></script>
    <script type="text/javascript" src="../../_static/lib/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../_static/controller.js"></script>
      <link rel="search" type="application/opensearchdescription+xml" href="https://docs.mongodb.com/osd.xml" title="MongoDB Help"/>
<link rel="author" title="About these documents" href="../../about.html" />
<!-- <link rel="index" title="Index" href="../../genindex.html" /> -->
<link rel="search" title="Search" href="../../search.html" />
<link rel="top" title="MongoDB Manual" href="../../index.html" />
<link rel="up" title="Diagnostic Commands" href="nav-diagnostic.html" />
<link rel="next" title="shardConnPoolStats" href="shardConnPoolStats.html" />
<link rel="prev" title="profile" href="profile.html" /><script type='text/javascript'>
   var gptadslots=[];
   var googletag = googletag || {};
   googletag.cmd = googletag.cmd || [];
   (function(){ var gads = document.createElement('script');
      gads.async = true; gads.type = 'text/javascript';
      var useSSL = 'https:' == document.location.protocol;
      gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
      var node = document.getElementsByTagName('script')[0];
      node.parentNode.insertBefore(gads, node);
   })();
</script>

<script type="text/javascript">
   googletag.cmd.push(function() {

      var pathname = location.href;
      
      if ( (pathname.indexOf("auth") >= 0) || (pathname.indexOf("security") >= 0) ) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/security', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if ( (pathname.indexOf("crud") >= 0) ||  (pathname.indexOf("query") >= 0) || (pathname.indexOf("insert") >= 0) || (pathname.indexOf("update") >= 0) || (pathname.indexOf("remove") >= 0) || (pathname.indexOf("delete") >= 0) || (pathname.indexOf("aggregation") >= 0) ) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/crud', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("shard") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/sharding', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("replica") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/replication', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("model") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/data-modeling', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("administration") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/support', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("install-mongodb-on-windows") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/install-mongodb-on-windows', [160, 600], 'mongodb-docs-1').addService(googletag.pubads());
      } else if (pathname.indexOf("tutorial/getting-started") >= 0) {
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org/docs_server_gettingstarted', [160, 600], 'mongodb-docs-1').addService(googletag.pubads());
      } else {
         //Adslot 1 declaration
         gptadslots[1]= googletag.defineSlot('/40039723/docs.mongodb.org', [[160,600],[243,202],[293,244]],'mongodb-docs-1').addService(googletag.pubads());
      }
      googletag.pubads().enableSingleRequest();
      googletag.pubads().enableAsyncRendering();
      googletag.enableServices();
   });
</script></head>
<body data-project="manual" data-project-title="MongoDB Manual" data-branch="v4.2" data-enable-marian=1>
  <!-- Google Tag Manager -->
  <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-JQHP"
                    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
     {'gtm.start': new Date().getTime(),event:'gtm.js'}
   );var f=d.getElementsByTagName(s)[0],
   j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
   '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
   })(window,document,'script','dataLayer','GTM-JQHP');</script>
  <!-- End Google Tag Manager -->
<div id="navbar" data-navprops='{"links": [{"url": "https://docs.mongodb.com/manual/","text": "Server","active": true},{"url": "https://docs.mongodb.com/ecosystem/drivers/","text": "Drivers"},{"url": "https://docs.mongodb.com/cloud/","text": "Cloud"},{"url": "https://docs.mongodb.com/tools/","text": "Tools"},{"url": "https://docs.mongodb.com/guides/","text": "Guides"}]}'></div>
      <script>
        window.googleSearchCx = "017213726194841070573:WMX6838984"
	window.googleSearchPlaceholder = "Search Documentation"
        window.googleSearchResultsUrl = "http://docs.mongodb.com/manual/search/"
      </script>
    <script src="../../_static/navbar.min.js"></script>
  

  <div class="content" >

   <div id="left-column">
         <aside id="sidebar" class="sidebar">
             
  <div class="sphinxsidebar" id="sphinxsidebar">
    <div id="sphinxsidebarwrapper" class="sphinxsidebarwrapper"><a href="javascript:void(0)" class="closeNav" id="closeNav">Close &times;</a>


<h3>
  <a class="index-link" href="../../index.html">MongoDB Manual</a>
</h3>


    <div class="btn-group version-sidebar">
      <button type="button" class="version-button dropdown-toggle" data-toggle="dropdown">
        
        
        Version 4.2 (current)<span class="caret"></span>
      </button>
      <ul class="dropdown-menu" role="menu">
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="master">
              
              Version 4.4 (upcoming)
            </a>
          </li>
        
          
          <li class="active">
          
            <a href="#" data-path="manual">
              
              Version 4.2 (current)
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v4.0">
              
              Version 4.0
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v3.6">
              
              Version 3.6
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v3.4">
              
              Version 3.4
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v3.2">
              
              Version 3.2
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v3.0">
              
              Version 3.0
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v2.6">
              
              Version 2.6
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v2.4">
              
              Version 2.4
            </a>
          </li>
        
          
          <li>
          
            <a class="version-selector" href="#" data-path="v2.2">
              
              Version 2.2
            </a>
          </li>
        
      </ul>
    </div>


<ul class="current"><li class="toctree-l1"><a class="reference internal" href="../../introduction.html">Introduction</a><ul><li class="toctree-l2"><a class="reference internal" href="../../tutorial/getting-started.html">Getting Started</a></li><li class="toctree-l2"><a class="reference external" href="https://docs.atlas.mongodb.com/getting-started/">Create an Atlas Free Tier Cluster</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/databases-and-collections.html">Databases and Collections</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/views.html">Views</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/materialized-views.html">On-Demand Materialized Views</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/capped-collections.html">Capped Collections</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/document.html">Documents</a></li><li class="toctree-l2"><a class="reference internal" href="../bson-types.html">BSON Types</a><ul><li class="toctree-l3"><a class="reference internal" href="../bson-type-comparison-order.html">Comparison/Sort Order</a></li><li class="toctree-l3"><a class="reference internal" href="../mongodb-extended-json.html">MongoDB Extended JSON (v2)</a></li><li class="toctree-l3"><a class="reference internal" href="../mongodb-extended-json-v1.html">MongoDB Extended JSON (v1)</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a><ul><li class="toctree-l2"><a class="reference internal" href="../../administration/install-community.html">Install MongoDB Community Edition</a><ul><li class="toctree-l3"><a class="reference internal" href="../../administration/install-on-linux.html">Install on Linux</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-red-hat.html">Install on Red Hat</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-on-red-hat-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-ubuntu.html">Install on Ubuntu</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-on-ubuntu-tarball.html">Install using .tgz Tarball</a></li><li class="toctree-l5"><a class="reference internal" href="../installation-ubuntu-community-troubleshooting.html">Troubleshoot Ubuntu Installation</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-debian.html">Install on Debian</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-on-debian-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-suse.html">Install on SUSE</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-on-suse-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-amazon.html">Install on Amazon</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-on-amazon-tarball.html">Install using .tgz Tarball</a></li></ul></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/install-mongodb-on-os-x.html">Install on macOS</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-os-x-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/install-mongodb-on-windows.html">Install on Windows</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-on-windows-unattended.html">Install using msiexec.exe</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/install-enterprise.html">Install MongoDB Enterprise</a><ul><li class="toctree-l3"><a class="reference internal" href="../../administration/install-enterprise-linux.html">Install on Linux</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-red-hat.html">Install on Red Hat</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-red-hat-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-ubuntu.html">Install on Ubuntu</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-ubuntu-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-debian.html">Install on Debian</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-debian-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-suse.html">Install on SUSE</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-suse-tarball.html">Install using .tgz Tarball</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-amazon.html">Install on Amazon</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-amazon-tarball.html">Install using .tgz Tarball</a></li></ul></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-os-x.html">Install on macOS</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-windows.html">Install on Windows</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-on-windows-unattended.html">Install using msiexec.exe</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/install-mongodb-enterprise-with-docker.html">Install with Docker</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/upgrade-community-to-enterprise.html">Upgrade MongoDB Community to MongoDB Enterprise</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/upgrade-to-enterprise-standalone.html">Upgrade to MongoDB Enterprise (Standalone)</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/upgrade-to-enterprise-replica-set.html">Upgrade to MongoDB Enterprise (Replica Set)</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/upgrade-to-enterprise-sharded-cluster.html">Upgrade to MongoDB Enterprise (Sharded Cluster)</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/verify-mongodb-packages.html">Verify Integrity of MongoDB Packages</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../mongo.html">The <code class="docutils literal"><span class="pre">mongo</span></code> Shell</a><ul><li class="toctree-l2"><a class="reference internal" href="../../tutorial/configure-mongo-shell.html">Configure the <code class="docutils literal"><span class="pre">mongo</span></code> Shell</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/access-mongo-shell-help.html">Access the <code class="docutils literal"><span class="pre">mongo</span></code> Shell Help</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/write-scripts-for-the-mongo-shell.html">Write Scripts for the <code class="docutils literal"><span class="pre">mongo</span></code> Shell</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/shell-types.html">Data Types in the <code class="docutils literal"><span class="pre">mongo</span></code> Shell</a></li><li class="toctree-l2"><a class="reference internal" href="../mongo-shell.html"><code class="docutils literal"><span class="pre">mongo</span></code> Shell Quick Reference</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../crud.html">MongoDB CRUD Operations</a><ul><li class="toctree-l2"><a class="reference internal" href="../../tutorial/insert-documents.html">Insert Documents</a><ul><li class="toctree-l3"><a class="reference internal" href="../insert-methods.html">Insert Methods</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/query-documents.html">Query Documents</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-embedded-documents.html">Query on Embedded/Nested Documents</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-arrays.html">Query an Array</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-array-of-documents.html">Query an Array of Embedded Documents</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/project-fields-from-query-results.html">Project Fields to Return from Query</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-for-null-fields.html">Query for Null or Missing Fields</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/iterate-a-cursor.html">Iterate a Cursor in the <code class="docutils literal"><span class="pre">mongo</span></code> Shell</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/update-documents.html">Update Documents</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/update-documents-with-aggregation-pipeline.html">Updates with Aggregation Pipeline</a></li><li class="toctree-l3"><a class="reference internal" href="../update-methods.html">Update Methods</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/remove-documents.html">Delete Documents</a><ul><li class="toctree-l3"><a class="reference internal" href="../delete-methods.html">Delete Methods</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/bulk-write-operations.html">Bulk Write Operations</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/retryable-writes.html">Retryable Writes</a></li><li class="toctree-l2"><a class="reference internal" href="../sql-comparison.html">SQL to MongoDB Mapping Chart</a></li><li class="toctree-l2"><a class="reference internal" href="../../text-search.html">Text Search</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/link-text-indexes.html">Text Indexes</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/text-search-operators.html">Text Search Operators</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/text-search-in-aggregation.html">Text Search in the Aggregation Pipeline</a></li><li class="toctree-l3"><a class="reference internal" href="../text-search-languages.html">Text Search Languages</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../geospatial-queries.html">Geospatial Queries</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/geospatial-tutorial.html">Find Restaurants with Geospatial Queries</a></li><li class="toctree-l3"><a class="reference internal" href="../geojson.html">GeoJSON Objects</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../read-concern.html">Read Isolation (Read Concern)</a><ul><li class="toctree-l3"><a class="reference internal" href="../read-concern-local.html">Read Concern <code class="docutils literal"><span class="pre">&quot;local&quot;</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../read-concern-available.html">Read Concern <code class="docutils literal"><span class="pre">&quot;available&quot;</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../read-concern-majority.html">Read Concern <code class="docutils literal"><span class="pre">&quot;majority&quot;</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../read-concern-linearizable.html">Read Concern <code class="docutils literal"><span class="pre">&quot;linearizable&quot;</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../read-concern-snapshot.html">Read Concern <code class="docutils literal"><span class="pre">&quot;snapshot&quot;</span></code></a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../write-concern.html">Write Acknowledgement (Write Concern)</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/crud.html">MongoDB CRUD Concepts</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/write-operations-atomicity.html">Atomicity and Transactions</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/read-isolation-consistency-recency.html">Read Isolation, Consistency, and Recency</a><ul><li class="toctree-l4"><a class="reference internal" href="../../core/causal-consistency-read-write-concerns.html">Causal Consistency and Read and Write Concerns</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/distributed-queries.html">Distributed Queries</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/perform-findAndModify-linearizable-reads.html">Linearizable Reads via <code class="docutils literal"><span class="pre">findAndModify</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../../core/query-plans.html">Query Plans</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/query-optimization.html">Query Optimization</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/evaluate-operation-performance.html">Evaluate Performance of Current Operations</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/optimize-query-performance-with-indexes-and-projections.html">Optimize Query Performance</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/write-performance.html">Write Operation Performance</a></li><li class="toctree-l4"><a class="reference internal" href="../explain-results.html">Explain Results</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/analyze-query-plan.html">Analyze Query Performance</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/tailable-cursors.html">Tailable Cursors</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../aggregation.html">Aggregation</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/aggregation-pipeline.html">Aggregation Pipeline</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/aggregation-pipeline-optimization.html">Aggregation Pipeline Optimization</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/aggregation-pipeline-limits.html">Aggregation Pipeline Limits</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/aggregation-pipeline-sharded-collections.html">Aggregation Pipeline and Sharded Collections</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/aggregation-zip-code-data-set.html">Example with ZIP Code Data</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/aggregation-with-user-preference-data.html">Example with User Preference Data</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/map-reduce.html">Map-Reduce</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/map-reduce-sharded-collections.html">Map-Reduce and Sharded Collections</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/map-reduce-concurrency.html">Map-Reduce Concurrency</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/map-reduce-examples.html">Map-Reduce Examples</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/perform-incremental-map-reduce.html">Perform Incremental Map-Reduce</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/troubleshoot-map-function.html">Troubleshoot the Map Function</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/troubleshoot-reduce-function.html">Troubleshoot the Reduce Function</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../aggregation.html">Aggregation Reference</a><ul><li class="toctree-l3"><a class="reference internal" href="../../meta/aggregation-quick-reference.html">Aggregation Pipeline Quick Reference</a></li><li class="toctree-l3"><a class="reference internal" href="../operator/aggregation/interface.html">Aggregation Commands</a></li><li class="toctree-l3"><a class="reference internal" href="../aggregation-commands-comparison.html">Aggregation Commands Comparison</a></li><li class="toctree-l3"><a class="reference internal" href="../aggregation-variables.html">Variables in Aggregation Expressions</a></li><li class="toctree-l3"><a class="reference internal" href="../sql-aggregation-comparison.html">SQL to Aggregation Mapping Chart</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../data-modeling.html">Data Models</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/data-modeling-introduction.html">Data Modeling Introduction</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/schema-validation.html">Schema Validation</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/data-models.html">Data Modeling Concepts</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/data-model-design.html">Data Model Design</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/data-model-operations.html">Operational Factors and Data Models</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../applications/data-models.html">Data Model Examples and Patterns</a><ul><li class="toctree-l3"><a class="reference internal" href="../../applications/data-models-relationships.html">Model Relationships Between Documents</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-embedded-one-to-one-relationships-between-documents.html">Model One-to-One Relationships with Embedded Documents</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-embedded-one-to-many-relationships-between-documents.html">Model One-to-Many Relationships with Embedded Documents</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-referenced-one-to-many-relationships-between-documents.html">Model One-to-Many Relationships with Document References</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../applications/data-models-tree-structures.html">Model Tree Structures</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-tree-structures-with-parent-references.html">Model Tree Structures with Parent References</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-tree-structures-with-child-references.html">Model Tree Structures with Child References</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-tree-structures-with-ancestors-array.html">Model Tree Structures with an Array of Ancestors</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-tree-structures-with-materialized-paths.html">Model Tree Structures with Materialized Paths</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-tree-structures-with-nested-sets.html">Model Tree Structures with Nested Sets</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../applications/data-models-applications.html">Model Specific Application Contexts</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-data-for-atomic-operations.html">Model Data for Atomic Operations</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-data-for-keyword-search.html">Model Data to Support Keyword Search</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-data-for-schema-versioning.html">Model Data for Schema Versioning</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-monetary-data.html">Model Monetary Data</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-time-data.html">Model Time Data</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/model-computed-data.html">Model Computed Data</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../data-models.html">Data Model Reference</a><ul><li class="toctree-l3"><a class="reference internal" href="../database-references.html">Database References</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../core/transactions.html">Transactions</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/transactions-in-applications.html">Drivers API</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/transactions-production-consideration.html">Production Considerations</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/transactions-sharded-clusters.html">Production Considerations (Sharded Clusters)</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/transactions-operations.html">Transactions and Operations</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../indexes.html">Indexes</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/index-single.html">Single Field Indexes</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-compound.html">Compound Indexes</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-multikey.html">Multikey Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/multikey-index-bounds.html">Multikey Index Bounds</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-text.html">Text Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/specify-language-for-text-index.html">Specify a Language for Text Index</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/avoid-text-index-name-limit.html">Specify Name for <code class="docutils literal"><span class="pre">text</span></code> Index</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/control-results-of-text-search.html">Control Search Results with Weights</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/limit-number-of-items-scanned-for-text-search.html">Limit the Number of Entries Scanned</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-wildcard.html">Wildcard Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../index-wildcard-restrictions.html">Wildcard Index Restrictions</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/2dsphere.html"><code class="docutils literal"><span class="pre">2dsphere</span></code> Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-a-2dsphere-index.html">Query a <code class="docutils literal"><span class="pre">2dsphere</span></code> Index</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/2d.html"><code class="docutils literal"><span class="pre">2d</span></code> Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/build-a-2d-index.html">Create a <code class="docutils literal"><span class="pre">2d</span></code> Index</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-a-2d-index.html">Query a <code class="docutils literal"><span class="pre">2d</span></code> Index</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/geospatial-indexes.html"><code class="docutils literal"><span class="pre">2d</span></code> Index Internals</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes.html">Calculate Distance Using Spherical Geometry</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/geohaystack.html"><code class="docutils literal"><span class="pre">geoHaystack</span></code> Indexes</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/build-a-geohaystack-index.html">Create a Haystack Index</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/query-a-geohaystack-index.html">Query a Haystack Index</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-hashed.html">Hashed Indexes</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-properties.html">Index Properties</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/index-ttl.html">TTL Indexes</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/expire-data.html">Expire Data from Collections by Setting TTL</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/index-unique.html">Unique Indexes</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/index-partial.html">Partial Indexes</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/index-case-insensitive.html">Case Insensitive Indexes</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/index-sparse.html">Sparse Indexes</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-creation.html">Index Builds on Populated Collections</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/build-indexes-on-replica-sets.html">Build Indexes on Replica Sets</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/build-indexes-on-sharded-clusters.html">Build Indexes on Sharded Clusters</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/index-intersection.html">Index Intersection</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/manage-indexes.html">Manage Indexes</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/measure-index-use.html">Measure Index Use</a></li><li class="toctree-l2"><a class="reference internal" href="../../applications/indexes.html">Indexing Strategies</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/create-indexes-to-support-queries.html">Create Indexes to Support Your Queries</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/sort-results-with-indexes.html">Use Indexes to Sort Query Results</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/ensure-indexes-fit-ram.html">Ensure Indexes Fit in RAM</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/create-queries-that-ensure-selectivity.html">Create Queries that Ensure Selectivity</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../indexes.html">Indexing Reference</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../security.html">Security</a><ul><li class="toctree-l2"><a class="reference internal" href="../../administration/security-checklist.html">Security Checklist</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/enable-authentication.html">Enable Access Control</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/authentication.html">Authentication</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/security-users.html">Users</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/create-users.html">Add Users</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/authentication-mechanisms.html">Authentication Mechanisms</a><ul><li class="toctree-l4"><a class="reference internal" href="../../core/security-scram.html">SCRAM</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/security-x.509.html">x.509</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/configure-x509-client-authentication.html">Use x.509 Certificates to Authenticate Clients</a></li></ul></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/authentication-mechanisms-enterprise.html">Enterprise Authentication Mechanisms</a><ul><li class="toctree-l4"><a class="reference internal" href="../../core/kerberos.html">Kerberos Authentication</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/control-access-to-mongodb-with-kerberos-authentication.html">Configure MongoDB with Kerberos Authentication on Linux</a></li><li class="toctree-l5"><a class="reference internal" href="../../tutorial/control-access-to-mongodb-windows-with-kerberos-authentication.html">Configure MongoDB with Kerberos Authentication on Windows</a></li><li class="toctree-l5"><a class="reference internal" href="../../tutorial/troubleshoot-kerberos.html">Troubleshoot Kerberos Authentication</a></li><li class="toctree-l5"><a class="reference internal" href="../../tutorial/kerberos-auth-activedirectory-authz.html">Configure MongoDB with Kerberos Authentication and Active Directory Authorization</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../core/security-ldap.html">LDAP Proxy Authentication</a><ul><li class="toctree-l5"><a class="reference internal" href="../../tutorial/configure-ldap-sasl-activedirectory.html">Authenticate Using SASL and LDAP with ActiveDirectory</a></li><li class="toctree-l5"><a class="reference internal" href="../../tutorial/configure-ldap-sasl-openldap.html">Authenticate Using SASL and LDAP with OpenLDAP</a></li><li class="toctree-l5"><a class="reference internal" href="../../tutorial/authenticate-nativeldap-activedirectory.html">Authenticate and Authorize Users Using Active Directory via Native LDAP</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../../core/security-ldap-external.html">LDAP Authorization</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/security-internal-authentication.html">Internal/Membership Authentication</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/deploy-replica-set-with-keyfile-access-control.html">Deploy Replica Set With Keyfile Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/enforce-keyfile-access-control-in-existing-replica-set.html">Update Replica Set to Keyfile Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/enforce-keyfile-access-control-in-existing-replica-set-without-downtime.html">Update Replica Set to Keyfile Authentication (No Downtime)</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/rotate-key-replica-set.html">Rotate Keys for Replica Sets</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/deploy-sharded-cluster-with-keyfile-access-control.html">Deploy Sharded Cluster with Keyfile Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/enforce-keyfile-access-control-in-existing-sharded-cluster.html">Update Sharded Cluster to Keyfile Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/enforce-keyfile-access-control-in-existing-sharded-cluster-no-downtime.html">Update Sharded Cluster to Keyfile Authentication (No Downtime)</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/rotate-key-sharded-cluster.html">Rotate Keys for Sharded Clusters</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/configure-x509-member-authentication.html">Use x.509 Certificate for Membership Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/upgrade-keyfile-to-x509.html">Upgrade from Keyfile Authentication to x.509 Authentication</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/rotate-x509-membership-certificates.html">Rolling Update of x.509 Cluster Certificates that Contain New DN</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/authorization.html">Role-Based Access Control</a><ul><li class="toctree-l3"><a class="reference internal" href="../built-in-roles.html">Built-In Roles</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/security-user-defined-roles.html">User-Defined Roles</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-users-and-roles.html">Manage Users and Roles</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/change-own-password-and-custom-data.html">Change Your Password and Custom Data</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/collection-level-access-control.html">Collection-Level Access Control</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/security-transport-encryption.html">TLS/SSL (Transport Encryption)</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-ssl.html">Configure <code class="docutils literal"><span class="pre">mongod</span></code> and <code class="docutils literal"><span class="pre">mongos</span></code> for TLS/SSL</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-ssl-clients.html">TLS/SSL Configuration for Clients</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/upgrade-cluster-to-ssl.html">Upgrade a Cluster to Use TLS/SSL</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-fips.html">Configure MongoDB for FIPS</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/security-encryption-at-rest.html">Encryption at Rest</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-encryption.html">Configure Encryption</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/rotate-encryption-key.html">Rotate Encryption Keys</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/security-client-side-encryption.html">Client-Side Field Level Encryption</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/security-automatic-client-side-encryption.html">Automatic Client-Side Field Level Encryption</a><ul><li class="toctree-l4"><a class="reference internal" href="../security-client-side-automatic-json-schema.html">Automatic Encryption Rules</a></li><li class="toctree-l4"><a class="reference internal" href="../security-client-side-query-aggregation-support.html">Read/Write Support with Automatic Field Level Encryption</a></li><li class="toctree-l4"><a class="reference internal" href="../security-client-side-encryption-appendix.html">Appendix</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/security-explicit-client-side-encryption.html">Explicit (Manual) Client-Side Field Level Encryption</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/security-client-side-encryption-key-management.html">Master Key and Data Encryption Key Management</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/manage-client-side-encryption-data-keys.html">Manage Data Encryption Keys</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../security-client-side-encryption-limitations.html">Limitations</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/auditing.html">Auditing</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-auditing.html">Configure Auditing</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-audit-filters.html">Configure Audit Filters</a></li><li class="toctree-l3"><a class="reference internal" href="../audit-message.html">System Event Audit Messages</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/security-hardening.html">Network and Configuration Hardening</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/security-mongodb-configuration.html">IP Binding</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-linux-iptables-firewall.html">Configure Linux <code class="docutils literal"><span class="pre">iptables</span></code> Firewall for MongoDB</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-windows-netsh-firewall.html">Configure Windows <code class="docutils literal"><span class="pre">netsh</span></code> Firewall for MongoDB</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/implement-field-level-redaction.html">Implement Field Level Redaction</a></li><li class="toctree-l2"><a class="reference internal" href="../security.html">Security Reference</a><ul><li class="toctree-l3"><a class="reference internal" href="../system-roles-collection.html"><code class="docutils literal"><span class="pre">system.roles</span></code> Collection</a></li><li class="toctree-l3"><a class="reference internal" href="../system-users-collection.html"><code class="docutils literal"><span class="pre">system.users</span></code> Collection</a></li><li class="toctree-l3"><a class="reference internal" href="../resource-document.html">Resource Document</a></li><li class="toctree-l3"><a class="reference internal" href="../privilege-actions.html">Privilege Actions</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/create-a-vulnerability-report.html">Create a Vulnerability Report</a></li><li class="toctree-l2"><a class="reference internal" href="../../appendix/security.html">Appendix</a><ul><li class="toctree-l3"><a class="reference internal" href="../../appendix/security/appendixA-openssl-ca.html">Appendix A - OpenSSL CA Certificate for Testing</a></li><li class="toctree-l3"><a class="reference internal" href="../../appendix/security/appendixB-openssl-server.html">Appendix B - OpenSSL Server Certificates for Testing</a></li><li class="toctree-l3"><a class="reference internal" href="../../appendix/security/appendixC-openssl-client.html">Appendix C - OpenSSL Client Certificates for Testing</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../changeStreams.html">Change Streams</a><ul><li class="toctree-l2"><a class="reference internal" href="../../administration/change-streams-production-recommendations.html">Change Streams Production Recommendations</a></li><li class="toctree-l2"><a class="reference internal" href="../change-events.html">Change Events</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../replication.html">Replication</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/replica-set-members.html">Replica Set Members</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-primary.html">Replica Set Primary</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-secondary.html">Replica Set Secondary Members</a><ul><li class="toctree-l4"><a class="reference internal" href="../../core/replica-set-priority-0-member.html">Priority 0 Replica Set Members</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/replica-set-hidden-member.html">Hidden Replica Set Members</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/replica-set-delayed-member.html">Delayed Replica Set Members</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-arbiter.html">Replica Set Arbiter</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/replica-set-oplog.html">Replica Set Oplog</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/replica-set-sync.html">Replica Set Data Synchronization</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/replica-set-architectures.html">Replica Set Deployment Architectures</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-architecture-three-members.html">Three Member Replica Sets</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-architecture-geographically-distributed.html">Replica Sets Distributed Across Two or More Data Centers</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/replica-set-high-availability.html">Replica Set High Availability</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-elections.html">Replica Set Elections</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-rollbacks.html">Rollbacks During Replica Set Failover</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../applications/replication.html">Replica Set Read and Write Semantics</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/replica-set-write-concern.html">Write Concern for Replica Sets</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/read-preference.html">Read Preference</a><ul><li class="toctree-l4"><a class="reference internal" href="../../core/read-preference-tags.html">Tag Sets</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/read-preference-staleness.html">maxStalenessSeconds</a></li><li class="toctree-l4"><a class="reference internal" href="../../core/read-preference-use-cases.html">Read Preference Use Cases</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/read-preference-mechanics.html">Server Selection Algorithm</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/replica-set-deployment.html">Replica Set Deployment Tutorials</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/deploy-replica-set.html">Deploy a Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/deploy-replica-set-for-testing.html">Deploy a Replica Set for Testing and Development</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/deploy-geographically-distributed-replica-set.html">Deploy a Geographically Redundant Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/add-replica-set-arbiter.html">Add an Arbiter to Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-standalone-to-replica-set.html">Convert a Standalone to a Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/expand-replica-set.html">Add Members to a Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/remove-replica-set-member.html">Remove Members from Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/replace-replica-set-member.html">Replace a Replica Set Member</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/replica-set-member-configuration.html">Member Configuration Tutorials</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/adjust-replica-set-member-priority.html">Adjust Priority for Replica Set Member</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-secondary-only-replica-set-member.html">Prevent Secondary from Becoming Primary</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-a-hidden-replica-set-member.html">Configure a Hidden Replica Set Member</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-a-delayed-replica-set-member.html">Configure a Delayed Replica Set Member</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-a-non-voting-replica-set-member.html">Configure Non-Voting Replica Set Member</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-secondary-into-arbiter.html">Convert a Secondary to an Arbiter</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/replica-set-maintenance.html">Replica Set Maintenance Tutorials</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/change-oplog-size.html">Change the Size of the Oplog</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/perform-maintence-on-replica-set-members.html">Perform Maintenance on Replica Set Members</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/force-member-to-be-primary.html">Force a Member to Become Primary</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/resync-replica-set-member.html">Resync a Member of a Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-replica-set-tag-sets.html">Configure Replica Set Tag Sets</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/reconfigure-replica-set-with-unavailable-members.html">Reconfigure a Replica Set with Unavailable Members</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-chained-replication.html">Manage Chained Replication</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/change-hostnames-in-a-replica-set.html">Change Hostnames in a Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/configure-replica-set-secondary-sync-target.html">Configure a Secondary’s Sync Target</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../replication.html">Replication Reference</a><ul><li class="toctree-l3"><a class="reference internal" href="../replica-configuration.html">Replica Set Configuration</a></li><li class="toctree-l3"><a class="reference internal" href="../replica-set-protocol-versions.html">Replica Set Protocol Version</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/troubleshoot-replica-sets.html">Troubleshoot Replica Sets</a></li><li class="toctree-l3"><a class="reference internal" href="../local-database.html">The <code class="docutils literal"><span class="pre">local</span></code> Database</a></li><li class="toctree-l3"><a class="reference internal" href="../replica-states.html">Replica Set Member States</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../sharding.html">Sharding</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/sharded-cluster-components.html">Sharded Cluster Components</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/sharded-cluster-shards.html">Shards</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/sharded-cluster-config-servers.html">Config Servers (metadata)</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/sharded-cluster-query-router.html">Router (mongos)</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/sharding-shard-key.html">Shard Keys</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/hashed-sharding.html">Hashed Sharding</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/ranged-sharding.html">Ranged Sharding</a></li><li class="toctree-l2"><a class="reference internal" href="../../tutorial/deploy-shard-cluster.html">Deploy a Sharded Cluster</a></li><li class="toctree-l2"><a class="reference internal" href="../../core/zone-sharding.html">Zones</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-shard-zone.html">Manage Shard Zones</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/sharding-segmenting-data-by-location.html">Segmenting Data by Location</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/sharding-tiered-hardware-for-varying-slas.html">Tiered Hardware for Varying SLA or SLO</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/sharding-segmenting-shards.html">Segmenting Data by Application or Customer</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/sharding-high-availability-writes.html">Distributed Local Writes for Insert Only Workloads</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/sharding-data-partitioning.html">Data Partitioning with Chunks</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/create-chunks-in-sharded-cluster.html">Create Chunks in a Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/split-chunks-in-sharded-cluster.html">Split Chunks in a Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/merge-chunks-in-sharded-cluster.html">Merge Chunks in a Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/modify-chunk-size-in-sharded-cluster.html">Modify Chunk Size in a Sharded Cluster</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/sharding-balancer-administration.html">Balancer</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-sharded-cluster-balancer.html">Manage Sharded Cluster Balancer</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/migrate-chunks-in-sharded-cluster.html">Migrate Chunks in a Sharded Cluster</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/sharded-cluster-administration.html">Administration</a><ul><li class="toctree-l3"><a class="reference internal" href="../../administration/sharded-cluster-config-servers.html">Config Server Administration</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/replace-config-server.html">Replace a Config Server</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/view-sharded-cluster-configuration.html">View Cluster Configuration</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/restart-sharded-cluster.html">Restart a Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/migrate-sharded-cluster-to-new-hardware.html">Migrate a Sharded Cluster to Different Hardware</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/add-shards-to-shard-cluster.html">Add Shards to a Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/remove-shards-from-cluster.html">Remove Shards from an Existing Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/clear-jumbo-flag.html">Clear <code class="docutils literal"><span class="pre">jumbo</span></code> Flag</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/backup-sharded-cluster-metadata.html">Back Up Cluster Metadata</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-sharded-cluster-to-replica-set.html">Convert Sharded Cluster to Replica Set</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-replica-set-to-replicated-shard-cluster.html">Convert a Replica Set to a Sharded Cluster</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-shard-standalone-to-shard-replica-set.html">Convert a Shard Standalone to a Shard Replica Set</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../sharding.html">Sharding Reference</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/sharded-cluster-requirements.html">Operational Restrictions</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/troubleshoot-sharded-clusters.html">Troubleshoot Sharded Clusters</a></li><li class="toctree-l3"><a class="reference internal" href="../config-database.html">Config Database</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../administration.html">Administration</a><ul><li class="toctree-l2"><a class="reference internal" href="../../administration/production-notes.html">Production Notes</a></li><li class="toctree-l2"><a class="reference internal" href="../../administration/production-checklist-operations.html">Operations Checklist</a></li><li class="toctree-l2"><a class="reference internal" href="../../administration/production-checklist-development.html">Development Checklist</a></li><li class="toctree-l2"><a class="reference internal" href="../../administration/analyzing-mongodb-performance.html">Performance</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-the-database-profiler.html">Database Profiler</a><ul><li class="toctree-l4"><a class="reference internal" href="../database-profiler.html">Database Profiler Output</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/transparent-huge-pages.html">Disable Transparent Huge Pages (THP)</a></li><li class="toctree-l3"><a class="reference internal" href="../ulimit.html">UNIX <code class="docutils literal"><span class="pre">ulimit</span></code> Settings</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/configuration-and-maintenance.html">Configuration and Maintenance</a><ul><li class="toctree-l3"><a class="reference internal" href="../../administration/configuration.html">Run-time Database Configuration</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/upgrade-revision.html">Upgrade to the Latest Revision of MongoDB</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-mongodb-processes.html">Manage <code class="docutils literal"><span class="pre">mongod</span></code> Processes</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/terminate-running-operations.html">Terminate Running Operations</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/rotate-log-files.html">Rotate Log Files</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../data-center-awareness.html">Data Center Awareness</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/workload-isolation.html">Workload Isolation in MongoDB Deployments</a></li><li class="toctree-l3"><a class="reference internal" href="../../core/zone-sharding.html">Zones</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/manage-shard-zone.html">Manage Shard Zones</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/sharding-segmenting-data-by-location.html">Segmenting Data by Location</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/sharding-tiered-hardware-for-varying-slas.html">Tiered Hardware for Varying SLA or SLO</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/sharding-segmenting-shards.html">Segmenting Data by Application or Customer</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/sharding-high-availability-writes.html">Distributed Local Writes for Insert Only Workloads</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-shard-zone.html">Manage Shard Zones</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/backups.html">MongoDB Backup Methods</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/backup-with-filesystem-snapshots.html">Back Up and Restore with Filesystem Snapshots</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/backup-and-restore-tools.html">Back Up and Restore with MongoDB Tools</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/restore-replica-set-from-backup.html">Restore a Replica Set from MongoDB Backups</a></li><li class="toctree-l3"><a class="reference internal" href="../../administration/backup-sharded-clusters.html">Backup and Restore Sharded Clusters</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/backup-sharded-cluster-with-filesystem-snapshots.html">Back Up a Sharded Cluster with File System Snapshots</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/backup-sharded-cluster-with-database-dumps.html">Back Up a Sharded Cluster with Database Dumps</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/schedule-backup-window-for-sharded-clusters.html">Schedule Backup Window for Sharded Clusters</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/restore-sharded-cluster.html">Restore a Sharded Cluster</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/recover-data-following-unexpected-shutdown.html">Recover a Standalone after an Unexpected Shutdown</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../administration/monitoring.html">Monitoring for MongoDB</a><ul><li class="toctree-l3"><a class="reference internal" href="../../administration/free-monitoring.html">Free Monitoring</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/monitor-with-snmp.html">Monitor MongoDB With SNMP on Linux</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/monitor-with-snmp-on-windows.html">Monitor MongoDB Windows with SNMP</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/troubleshoot-snmp.html">Troubleshoot SNMP</a></li></ul></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../storage.html">Storage</a><ul><li class="toctree-l2"><a class="reference internal" href="../../core/storage-engines.html">Storage Engines</a><ul><li class="toctree-l3"><a class="reference internal" href="../../core/wiredtiger.html">WiredTiger Storage Engine</a><ul><li class="toctree-l4"><a class="reference internal" href="../../tutorial/change-standalone-wiredtiger.html">Change Standalone to WiredTiger</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/change-replica-set-wiredtiger.html">Change Replica Set to WiredTiger</a></li><li class="toctree-l4"><a class="reference internal" href="../../tutorial/change-sharded-cluster-wiredtiger.html">Change Sharded Cluster to WiredTiger</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../core/inmemory.html">In-Memory Storage Engine</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/journaling.html">Journaling</a><ul><li class="toctree-l3"><a class="reference internal" href="../../tutorial/manage-journaling.html">Manage Journaling</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../core/gridfs.html">GridFS</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/storage.html">FAQ: MongoDB Storage</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../faq.html">Frequently Asked Questions</a><ul><li class="toctree-l2"><a class="reference internal" href="../../faq/fundamentals.html">FAQ: MongoDB Fundamentals</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/indexes.html">FAQ: Indexes</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/concurrency.html">FAQ: Concurrency</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/sharding.html">FAQ: Sharding with MongoDB</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/replica-sets.html">FAQ: Replication and Replica Sets</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/storage.html">FAQ: MongoDB Storage</a></li><li class="toctree-l2"><a class="reference internal" href="../../faq/diagnostics.html">FAQ: MongoDB Diagnostics</a></li></ul></li><li class="toctree-l1 current"><a class="reference internal" href="../../reference.html">Reference</a><ul class="current"><li class="toctree-l2"><a class="reference internal" href="../operator.html">Operators</a><ul><li class="toctree-l3"><a class="reference internal" href="../operator/query.html">Query and Projection Operators</a><ul><li class="toctree-l4"><a class="reference internal" href="../operator/query-comparison.html">Comparison Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/eq.html">$eq</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/gt.html">$gt</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/gte.html">$gte</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/in.html">$in</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/lt.html">$lt</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/lte.html">$lte</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/ne.html">$ne</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/nin.html">$nin</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-logical.html">Logical Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/and.html">$and</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/not.html">$not</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/nor.html">$nor</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/or.html">$or</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-element.html">Element Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/exists.html">$exists</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/type.html">$type</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-evaluation.html">Evaluation Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/expr.html">$expr</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/jsonSchema.html">$jsonSchema</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/mod.html">$mod</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/regex.html">$regex</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/text.html">$text</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/where.html">$where</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-geospatial.html">Geospatial Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/geoIntersects.html">$geoIntersects</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/geoWithin.html">$geoWithin</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/near.html">$near</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/nearSphere.html">$nearSphere</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/box.html">$box</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/center.html">$center</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/centerSphere.html">$centerSphere</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/geometry.html">$geometry</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/maxDistance.html">$maxDistance</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/minDistance.html">$minDistance</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/polygon.html">$polygon</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/uniqueDocs.html">$uniqueDocs</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-array.html">Array Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/all.html">$all</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/elemMatch.html">$elemMatch (query)</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/size.html">$size</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query-bitwise.html">Bitwise Query Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/query/bitsAllClear.html">$bitsAllClear</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/bitsAllSet.html">$bitsAllSet</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/bitsAnyClear.html">$bitsAnyClear</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/query/bitsAnySet.html">$bitsAnySet</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/query/comment.html">$comment</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/projection.html">Projection Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/projection/positional.html">$ (projection)</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/projection/elemMatch.html">$elemMatch (projection)</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/projection/meta.html">$meta</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/projection/slice.html">$slice (projection)</a></li></ul></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../operator/update.html">Update Operators</a><ul><li class="toctree-l4"><a class="reference internal" href="../operator/update-field.html">Field Update Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/update/currentDate.html">$currentDate</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/inc.html">$inc</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/min.html">$min</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/max.html">$max</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/mul.html">$mul</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/rename.html">$rename</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/set.html">$set</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/setOnInsert.html">$setOnInsert</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/unset.html">$unset</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/update-array.html">Array Update Operators</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/update/positional.html">$ (update)</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/positional-all.html">$[]</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/positional-filtered.html">$[&lt;identifier&gt;]</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/addToSet.html">$addToSet</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/pop.html">$pop</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/pull.html">$pull</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/push.html">$push</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/pullAll.html">$pullAll</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/each.html">$each</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/position.html">$position</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/slice.html">$slice</a></li><li class="toctree-l5"><a class="reference internal" href="../operator/update/sort.html">$sort</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../operator/update-bitwise.html">Bitwise Update Operator</a><ul><li class="toctree-l5"><a class="reference internal" href="../operator/update/bit.html">$bit</a></li></ul></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../operator/aggregation-pipeline.html">Aggregation Pipeline Stages</a><ul><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/addFields.html">$addFields (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/bucket.html">$bucket (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/bucketAuto.html">$bucketAuto (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/collStats.html">$collStats (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/count.html">$count (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/currentOp.html">$currentOp (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/facet.html">$facet (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/geoNear.html">$geoNear (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/graphLookup.html">$graphLookup (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/group.html">$group (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/indexStats.html">$indexStats (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/limit.html">$limit (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/listLocalSessions.html">$listLocalSessions</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/listSessions.html">$listSessions</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/lookup.html">$lookup (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/match.html">$match (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/merge.html">$merge (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/out.html">$out (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/planCacheStats.html">$planCacheStats</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/project.html">$project (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/redact.html">$redact (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/replaceRoot.html">$replaceRoot (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/replaceWith.html">$replaceWith (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sample.html">$sample (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/set.html">$set (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/skip.html">$skip (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sort.html">$sort (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sortByCount.html">$sortByCount (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/unset.html">$unset (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/unwind.html">$unwind (aggregation)</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../operator/aggregation.html">Aggregation Pipeline Operators</a><ul><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/abs.html">$abs (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/acos.html">$acos (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/acosh.html">$acosh (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/add.html">$add (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/addToSet.html">$addToSet (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/allElementsTrue.html">$allElementsTrue (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/and.html">$and (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/anyElementTrue.html">$anyElementTrue (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/arrayElemAt.html">$arrayElemAt (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/arrayToObject.html">$arrayToObject (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/asin.html">$asin (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/asinh.html">$asinh (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/atan.html">$atan (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/atan2.html">$atan2 (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/atanh.html">$atanh (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/avg.html">$avg (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/ceil.html">$ceil (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/cmp.html">$cmp (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/concat.html">$concat (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/concatArrays.html">$concatArrays (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/cond.html">$cond (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/convert.html">$convert (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/cos.html">$cos (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dateFromParts.html">$dateFromParts (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dateToParts.html">$dateToParts (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dateFromString.html">$dateFromString (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dateToString.html">$dateToString (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dayOfMonth.html">$dayOfMonth (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dayOfWeek.html">$dayOfWeek (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/dayOfYear.html">$dayOfYear (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/degreesToRadians.html">$degreesToRadians (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/divide.html">$divide (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/eq.html">$eq (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/exp.html">$exp (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/filter.html">$filter (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/first.html">$first (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/floor.html">$floor (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/gt.html">$gt (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/gte.html">$gte (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/hour.html">$hour (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/ifNull.html">$ifNull (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/in.html">$in (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/indexOfArray.html">$indexOfArray (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/indexOfBytes.html">$indexOfBytes (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/indexOfCP.html">$indexOfCP (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/isArray.html">$isArray (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/isoDayOfWeek.html">$isoDayOfWeek (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/isoWeek.html">$isoWeek (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/isoWeekYear.html">$isoWeekYear (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/last.html">$last (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/let.html">$let (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/literal.html">$literal (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/ln.html">$ln (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/log.html">$log (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/log10.html">$log10 (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/lt.html">$lt (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/lte.html">$lte (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/ltrim.html">$ltrim (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/map.html">$map (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/max.html">$max (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/mergeObjects.html">$mergeObjects (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/meta.html">$meta (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/min.html">$min (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/millisecond.html">$millisecond (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/minute.html">$minute (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/mod.html">$mod (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/month.html">$month (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/multiply.html">$multiply (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/ne.html">$ne (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/not.html">$not (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/objectToArray.html">$objectToArray (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/or.html">$or (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/pow.html">$pow (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/push.html">$push (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/radiansToDegrees.html">$radiansToDegrees (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/range.html">$range (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/reduce.html">$reduce (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/regexFind.html">$regexFind (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/regexFindAll.html">$regexFindAll (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/regexMatch.html">$regexMatch (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/reverseArray.html">$reverseArray (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/round.html">$round (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/rtrim.html">$rtrim (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/second.html">$second (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/setDifference.html">$setDifference (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/setEquals.html">$setEquals (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/setIntersection.html">$setIntersection (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/setIsSubset.html">$setIsSubset (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/setUnion.html">$setUnion (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/size.html">$size (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sin.html">$sin (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/slice.html">$slice (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/split.html">$split (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sqrt.html">$sqrt (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/stdDevPop.html">$stdDevPop (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/stdDevSamp.html">$stdDevSamp (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/strcasecmp.html">$strcasecmp (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/strLenBytes.html">$strLenBytes (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/strLenCP.html">$strLenCP (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/substr.html">$substr (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/substrBytes.html">$substrBytes (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/substrCP.html">$substrCP (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/subtract.html">$subtract (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/sum.html">$sum (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/switch.html">$switch (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/tan.html">$tan (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toBool.html">$toBool (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toDate.html">$toDate (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toDecimal.html">$toDecimal (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toDouble.html">$toDouble(aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toInt.html">$toInt (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toLong.html">$toLong (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toObjectId.html">$toObjectId (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toString.html">$toString (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toLower.html">$toLower (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/toUpper.html">$toUpper (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/trim.html">$trim (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/trunc.html">$trunc (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/type.html">$type (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/week.html">$week (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/year.html">$year (aggregation)</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/aggregation/zip.html">$zip (aggregation)</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../operator/query-modifier.html">Query Modifiers</a><ul><li class="toctree-l4"><a class="reference internal" href="../operator/meta/comment.html">$comment</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/explain.html">$explain</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/hint.html">$hint</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/max.html">$max</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/maxTimeMS.html">$maxTimeMS</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/min.html">$min</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/orderby.html">$orderby</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/query.html">$query</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/returnKey.html">$returnKey</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/showDiskLoc.html">$showDiskLoc</a></li><li class="toctree-l4"><a class="reference internal" href="../operator/meta/natural.html">$natural</a></li></ul></li></ul></li><li class="toctree-l2 current"><a class="reference internal" href="../command.html">Database Commands</a><ul class="current"><li class="toctree-l3"><a class="reference internal" href="nav-aggregation.html">Aggregation Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="aggregate.html">aggregate</a></li><li class="toctree-l4"><a class="reference internal" href="count.html">count</a></li><li class="toctree-l4"><a class="reference internal" href="distinct.html">distinct</a></li><li class="toctree-l4"><a class="reference internal" href="mapReduce.html">mapReduce</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-geospatial.html">Geospatial Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="geoSearch.html">geoSearch</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-crud.html">Query and Write Operation Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="delete.html">delete</a></li><li class="toctree-l4"><a class="reference internal" href="find.html">find</a></li><li class="toctree-l4"><a class="reference internal" href="findAndModify.html">findAndModify</a></li><li class="toctree-l4"><a class="reference internal" href="getLastError.html">getLastError</a></li><li class="toctree-l4"><a class="reference internal" href="getMore.html">getMore</a></li><li class="toctree-l4"><a class="reference internal" href="insert.html">insert</a></li><li class="toctree-l4"><a class="reference internal" href="resetError.html">resetError</a></li><li class="toctree-l4"><a class="reference internal" href="update.html">update</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-plan-cache.html">Query Plan Cache Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="planCacheClear.html">planCacheClear</a></li><li class="toctree-l4"><a class="reference internal" href="planCacheClearFilters.html">planCacheClearFilters</a></li><li class="toctree-l4"><a class="reference internal" href="planCacheListFilters.html">planCacheListFilters</a></li><li class="toctree-l4"><a class="reference internal" href="planCacheListPlans.html">planCacheListPlans</a></li><li class="toctree-l4"><a class="reference internal" href="planCacheListQueryShapes.html">planCacheListQueryShapes</a></li><li class="toctree-l4"><a class="reference internal" href="planCacheSetFilter.html">planCacheSetFilter</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-authentication.html">Authentication Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="authenticate.html">authenticate</a></li><li class="toctree-l4"><a class="reference internal" href="getnonce.html">getnonce</a></li><li class="toctree-l4"><a class="reference internal" href="logout.html">logout</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-user-management.html">User Management Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="createUser.html">createUser</a></li><li class="toctree-l4"><a class="reference internal" href="dropAllUsersFromDatabase.html">dropAllUsersFromDatabase</a></li><li class="toctree-l4"><a class="reference internal" href="dropUser.html">dropUser</a></li><li class="toctree-l4"><a class="reference internal" href="grantRolesToUser.html">grantRolesToUser</a></li><li class="toctree-l4"><a class="reference internal" href="revokeRolesFromUser.html">revokeRolesFromUser</a></li><li class="toctree-l4"><a class="reference internal" href="updateUser.html">updateUser</a></li><li class="toctree-l4"><a class="reference internal" href="usersInfo.html">usersInfo</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-role-management.html">Role Management Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="createRole.html">createRole</a></li><li class="toctree-l4"><a class="reference internal" href="dropRole.html">dropRole</a></li><li class="toctree-l4"><a class="reference internal" href="dropAllRolesFromDatabase.html">dropAllRolesFromDatabase</a></li><li class="toctree-l4"><a class="reference internal" href="grantPrivilegesToRole.html">grantPrivilegesToRole</a></li><li class="toctree-l4"><a class="reference internal" href="grantRolesToRole.html">grantRolesToRole</a></li><li class="toctree-l4"><a class="reference internal" href="invalidateUserCache.html">invalidateUserCache</a></li><li class="toctree-l4"><a class="reference internal" href="revokePrivilegesFromRole.html">revokePrivilegesFromRole</a></li><li class="toctree-l4"><a class="reference internal" href="revokeRolesFromRole.html">revokeRolesFromRole</a></li><li class="toctree-l4"><a class="reference internal" href="rolesInfo.html">rolesInfo</a></li><li class="toctree-l4"><a class="reference internal" href="updateRole.html">updateRole</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-replication.html">Replication Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="applyOps.html">applyOps</a></li><li class="toctree-l4"><a class="reference internal" href="isMaster.html">isMaster</a></li><li class="toctree-l4"><a class="reference internal" href="replSetAbortPrimaryCatchUp.html">replSetAbortPrimaryCatchUp</a></li><li class="toctree-l4"><a class="reference internal" href="replSetFreeze.html">replSetFreeze</a></li><li class="toctree-l4"><a class="reference internal" href="replSetGetConfig.html">replSetGetConfig</a></li><li class="toctree-l4"><a class="reference internal" href="replSetGetStatus.html">replSetGetStatus</a></li><li class="toctree-l4"><a class="reference internal" href="replSetInitiate.html">replSetInitiate</a></li><li class="toctree-l4"><a class="reference internal" href="replSetMaintenance.html">replSetMaintenance</a></li><li class="toctree-l4"><a class="reference internal" href="replSetReconfig.html">replSetReconfig</a></li><li class="toctree-l4"><a class="reference internal" href="replSetResizeOplog.html">replSetResizeOplog</a></li><li class="toctree-l4"><a class="reference internal" href="replSetStepDown.html">replSetStepDown</a></li><li class="toctree-l4"><a class="reference internal" href="replSetSyncFrom.html">replSetSyncFrom</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-sharding.html">Sharding Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="addShard.html">addShard</a></li><li class="toctree-l4"><a class="reference internal" href="addShardToZone.html">addShardToZone</a></li><li class="toctree-l4"><a class="reference internal" href="balancerStart.html">balancerStart</a></li><li class="toctree-l4"><a class="reference internal" href="balancerStatus.html">balancerStatus</a></li><li class="toctree-l4"><a class="reference internal" href="balancerStop.html">balancerStop</a></li><li class="toctree-l4"><a class="reference internal" href="checkShardingIndex.html">checkShardingIndex</a></li><li class="toctree-l4"><a class="reference internal" href="clearJumboFlag.html">clearJumboFlag</a></li><li class="toctree-l4"><a class="reference internal" href="cleanupOrphaned.html">cleanupOrphaned</a></li><li class="toctree-l4"><a class="reference internal" href="enableSharding.html">enableSharding</a></li><li class="toctree-l4"><a class="reference internal" href="flushRouterConfig.html">flushRouterConfig</a></li><li class="toctree-l4"><a class="reference internal" href="getShardMap.html">getShardMap</a></li><li class="toctree-l4"><a class="reference internal" href="getShardVersion.html">getShardVersion</a></li><li class="toctree-l4"><a class="reference internal" href="isdbgrid.html">isdbgrid</a></li><li class="toctree-l4"><a class="reference internal" href="listShards.html">listShards</a></li><li class="toctree-l4"><a class="reference internal" href="medianKey.html">medianKey</a></li><li class="toctree-l4"><a class="reference internal" href="moveChunk.html">moveChunk</a></li><li class="toctree-l4"><a class="reference internal" href="movePrimary.html">movePrimary</a></li><li class="toctree-l4"><a class="reference internal" href="mergeChunks.html">mergeChunks</a></li><li class="toctree-l4"><a class="reference internal" href="removeShard.html">removeShard</a></li><li class="toctree-l4"><a class="reference internal" href="removeShardFromZone.html">removeShardFromZone</a></li><li class="toctree-l4"><a class="reference internal" href="setShardVersion.html">setShardVersion</a></li><li class="toctree-l4"><a class="reference internal" href="shardCollection.html">shardCollection</a></li><li class="toctree-l4"><a class="reference internal" href="shardingState.html">shardingState</a></li><li class="toctree-l4"><a class="reference internal" href="split.html">split</a></li><li class="toctree-l4"><a class="reference internal" href="splitChunk.html">splitChunk</a></li><li class="toctree-l4"><a class="reference internal" href="splitVector.html">splitVector</a></li><li class="toctree-l4"><a class="reference internal" href="unsetSharding.html">unsetSharding</a></li><li class="toctree-l4"><a class="reference internal" href="updateZoneKeyRange.html">updateZoneKeyRange</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-sessions.html">Sessions Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="abortTransaction.html">abortTransaction</a></li><li class="toctree-l4"><a class="reference internal" href="commitTransaction.html">commitTransaction</a></li><li class="toctree-l4"><a class="reference internal" href="endSessions.html">endSessions</a></li><li class="toctree-l4"><a class="reference internal" href="killAllSessions.html">killAllSessions</a></li><li class="toctree-l4"><a class="reference internal" href="killAllSessionsByPattern.html">killAllSessionsByPattern</a></li><li class="toctree-l4"><a class="reference internal" href="killSessions.html">killSessions</a></li><li class="toctree-l4"><a class="reference internal" href="refreshSessions.html">refreshSessions</a></li><li class="toctree-l4"><a class="reference internal" href="startSession.html">startSession</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-administration.html">Administration Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="clean.html">clean</a></li><li class="toctree-l4"><a class="reference internal" href="cloneCollection.html">cloneCollection</a></li><li class="toctree-l4"><a class="reference internal" href="cloneCollectionAsCapped.html">cloneCollectionAsCapped</a></li><li class="toctree-l4"><a class="reference internal" href="collMod.html">collMod</a></li><li class="toctree-l4"><a class="reference internal" href="compact.html">compact</a></li><li class="toctree-l4"><a class="reference internal" href="connPoolSync.html">connPoolSync</a></li><li class="toctree-l4"><a class="reference internal" href="convertToCapped.html">convertToCapped</a></li><li class="toctree-l4"><a class="reference internal" href="create.html">create</a></li><li class="toctree-l4"><a class="reference internal" href="createIndexes.html">createIndexes</a></li><li class="toctree-l4"><a class="reference internal" href="currentOp.html">currentOp</a></li><li class="toctree-l4"><a class="reference internal" href="drop.html">drop</a></li><li class="toctree-l4"><a class="reference internal" href="dropDatabase.html">dropDatabase</a></li><li class="toctree-l4"><a class="reference internal" href="dropConnections.html">dropConnections</a></li><li class="toctree-l4"><a class="reference internal" href="dropIndexes.html">dropIndexes</a></li><li class="toctree-l4"><a class="reference internal" href="filemd5.html">filemd5</a></li><li class="toctree-l4"><a class="reference internal" href="fsync.html">fsync</a></li><li class="toctree-l4"><a class="reference internal" href="fsyncUnlock.html">fsyncUnlock</a></li><li class="toctree-l4"><a class="reference internal" href="getParameter.html">getParameter</a></li><li class="toctree-l4"><a class="reference internal" href="killCursors.html">killCursors</a></li><li class="toctree-l4"><a class="reference internal" href="killOp.html">killOp</a></li><li class="toctree-l4"><a class="reference internal" href="listCollections.html">listCollections</a></li><li class="toctree-l4"><a class="reference internal" href="listDatabases.html">listDatabases</a></li><li class="toctree-l4"><a class="reference internal" href="listIndexes.html">listIndexes</a></li><li class="toctree-l4"><a class="reference internal" href="logRotate.html">logRotate</a></li><li class="toctree-l4"><a class="reference internal" href="reIndex.html">reIndex</a></li><li class="toctree-l4"><a class="reference internal" href="renameCollection.html">renameCollection</a></li><li class="toctree-l4"><a class="reference internal" href="setFeatureCompatibilityVersion.html">setFeatureCompatibilityVersion</a></li><li class="toctree-l4"><a class="reference internal" href="setParameter.html">setParameter</a></li><li class="toctree-l4"><a class="reference internal" href="shutdown.html">shutdown</a></li></ul></li><li class="toctree-l3 current"><a class="reference internal" href="nav-diagnostic.html">Diagnostic Commands</a><ul class="current"><li class="toctree-l4"><a class="reference internal" href="availableQueryOptions.html">availableQueryOptions</a></li><li class="toctree-l4"><a class="reference internal" href="buildInfo.html">buildInfo</a></li><li class="toctree-l4"><a class="reference internal" href="collStats.html">collStats</a></li><li class="toctree-l4"><a class="reference internal" href="connPoolStats.html">connPoolStats</a></li><li class="toctree-l4"><a class="reference internal" href="connectionStatus.html">connectionStatus</a></li><li class="toctree-l4"><a class="reference internal" href="cursorInfo.html">cursorInfo</a></li><li class="toctree-l4"><a class="reference internal" href="dataSize.html">dataSize</a></li><li class="toctree-l4"><a class="reference internal" href="dbHash.html">dbHash</a></li><li class="toctree-l4"><a class="reference internal" href="dbStats.html">dbStats</a></li><li class="toctree-l4"><a class="reference internal" href="diagLogging.html">diagLogging</a></li><li class="toctree-l4"><a class="reference internal" href="driverOIDTest.html">driverOIDTest</a></li><li class="toctree-l4"><a class="reference internal" href="explain.html">explain</a></li><li class="toctree-l4"><a class="reference internal" href="features.html">features</a></li><li class="toctree-l4"><a class="reference internal" href="getCmdLineOpts.html">getCmdLineOpts</a></li><li class="toctree-l4"><a class="reference internal" href="getLog.html">getLog</a></li><li class="toctree-l4"><a class="reference internal" href="hostInfo.html">hostInfo</a></li><li class="toctree-l4"><a class="reference internal" href="isSelf.html">isSelf</a></li><li class="toctree-l4"><a class="reference internal" href="listCommands.html">listCommands</a></li><li class="toctree-l4"><a class="reference internal" href="netstat.html">netstat</a></li><li class="toctree-l4"><a class="reference internal" href="ping.html">ping</a></li><li class="toctree-l4"><a class="reference internal" href="profile.html">profile</a></li><li class="toctree-l4 current"><a class="reference internal current" href="">serverStatus</a></li><li class="toctree-l4"><a class="reference internal" href="shardConnPoolStats.html">shardConnPoolStats</a></li><li class="toctree-l4"><a class="reference internal" href="top.html">top</a></li><li class="toctree-l4"><a class="reference internal" href="validate.html">validate</a></li><li class="toctree-l4"><a class="reference internal" href="whatsmyuri.html">whatsmyuri</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-free-monitoring.html">Free Monitoring Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="getFreeMonitoringStatus.html">getFreeMonitoringStatus</a></li><li class="toctree-l4"><a class="reference internal" href="setFreeMonitoring.html">setFreeMonitoring</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="nav-auditing.html">System Events Auditing Commands</a><ul><li class="toctree-l4"><a class="reference internal" href="logApplicationMessage.html">logApplicationMessage</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../method.html"><code class="docutils literal"><span class="pre">mongo</span></code> Shell Methods</a><ul><li class="toctree-l3"><a class="reference internal" href="../method/js-collection.html">Collection Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.aggregate.html">db.collection.aggregate()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.bulkWrite.html">db.collection.bulkWrite()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.copyTo.html">db.collection.copyTo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.count.html">db.collection.count()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.countDocuments.html">db.collection.countDocuments()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.estimatedDocumentCount.html">db.collection.estimatedDocumentCount()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.createIndex.html">db.collection.createIndex()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.createIndexes.html">db.collection.createIndexes()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.dataSize.html">db.collection.dataSize()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.deleteOne.html">db.collection.deleteOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.deleteMany.html">db.collection.deleteMany()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.distinct.html">db.collection.distinct()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.drop.html">db.collection.drop()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.dropIndex.html">db.collection.dropIndex()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.dropIndexes.html">db.collection.dropIndexes()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.ensureIndex.html">db.collection.ensureIndex()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.explain.html">db.collection.explain()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.find.html">db.collection.find()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.findAndModify.html">db.collection.findAndModify()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.findOne.html">db.collection.findOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.findOneAndDelete.html">db.collection.findOneAndDelete()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.findOneAndReplace.html">db.collection.findOneAndReplace()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.findOneAndUpdate.html">db.collection.findOneAndUpdate()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.getIndexes.html">db.collection.getIndexes()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.getShardDistribution.html">db.collection.getShardDistribution()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.getShardVersion.html">db.collection.getShardVersion()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.insert.html">db.collection.insert()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.insertOne.html">db.collection.insertOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.insertMany.html">db.collection.insertMany()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.isCapped.html">db.collection.isCapped()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.latencyStats.html">db.collection.latencyStats()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.mapReduce.html">db.collection.mapReduce()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.reIndex.html">db.collection.reIndex()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.remove.html">db.collection.remove()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.renameCollection.html">db.collection.renameCollection()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.replaceOne.html">db.collection.replaceOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.save.html">db.collection.save()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.stats.html">db.collection.stats()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.storageSize.html">db.collection.storageSize()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.totalIndexSize.html">db.collection.totalIndexSize()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.totalSize.html">db.collection.totalSize()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.update.html">db.collection.update()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.updateOne.html">db.collection.updateOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.updateMany.html">db.collection.updateMany()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.watch.html">db.collection.watch()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.validate.html">db.collection.validate()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-cursor.html">Cursor Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/cursor.addOption.html">cursor.addOption()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.allowPartialResults.html">cursor.allowPartialResults()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.batchSize.html">cursor.batchSize()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.close.html">cursor.close()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.isClosed.html">cursor.isClosed()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.collation.html">cursor.collation()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.comment.html">cursor.comment()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.count.html">cursor.count()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.explain.html">cursor.explain()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.forEach.html">cursor.forEach()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.hasNext.html">cursor.hasNext()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.hint.html">cursor.hint()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.isExhausted.html">cursor.isExhausted()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.itcount.html">cursor.itcount()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.limit.html">cursor.limit()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.map.html">cursor.map()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.max.html">cursor.max()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.maxTimeMS.html">cursor.maxTimeMS()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.min.html">cursor.min()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.next.html">cursor.next()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.noCursorTimeout.html">cursor.noCursorTimeout()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.objsLeftInBatch.html">cursor.objsLeftInBatch()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.pretty.html">cursor.pretty()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.readConcern.html">cursor.readConcern()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.readPref.html">cursor.readPref()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.returnKey.html">cursor.returnKey()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.showRecordId.html">cursor.showRecordId()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.size.html">cursor.size()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.skip.html">cursor.skip()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.sort.html">cursor.sort()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.tailable.html">cursor.tailable()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cursor.toArray.html">cursor.toArray()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-database.html">Database Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.adminCommand.html">db.adminCommand()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.aggregate.html">db.aggregate()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.cloneCollection.html">db.cloneCollection()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.cloneDatabase.html">db.cloneDatabase()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.commandHelp.html">db.commandHelp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.copyDatabase.html">db.copyDatabase()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.createCollection.html">db.createCollection()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.createView.html">db.createView()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.currentOp.html">db.currentOp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.dropDatabase.html">db.dropDatabase()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.eval.html">db.eval()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.fsyncLock.html">db.fsyncLock()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.fsyncUnlock.html">db.fsyncUnlock()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getCollection.html">db.getCollection()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getCollectionInfos.html">db.getCollectionInfos()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getCollectionNames.html">db.getCollectionNames()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getLastError.html">db.getLastError()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getLastErrorObj.html">db.getLastErrorObj()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getLogComponents.html">db.getLogComponents()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getMongo.html">db.getMongo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getName.html">db.getName()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getProfilingLevel.html">db.getProfilingLevel()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getProfilingStatus.html">db.getProfilingStatus()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getReplicationInfo.html">db.getReplicationInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getSiblingDB.html">db.getSiblingDB()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.help.html">db.help()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.hostInfo.html">db.hostInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.isMaster.html">db.isMaster()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.killOp.html">db.killOp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.listCommands.html">db.listCommands()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.logout.html">db.logout()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.printCollectionStats.html">db.printCollectionStats()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.printReplicationInfo.html">db.printReplicationInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.printShardingStatus.html">db.printShardingStatus()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.printSlaveReplicationInfo.html">db.printSlaveReplicationInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.resetError.html">db.resetError()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.runCommand.html">db.runCommand()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.serverBuildInfo.html">db.serverBuildInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.serverCmdLineOpts.html">db.serverCmdLineOpts()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.serverStatus.html">db.serverStatus()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.setLogLevel.html">db.setLogLevel()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.setProfilingLevel.html">db.setProfilingLevel()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.shutdownServer.html">db.shutdownServer()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.stats.html">db.stats()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.version.html">db.version()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.watch.html">db.watch()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-plan-cache.html">Query Plan Cache Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.getPlanCache.html">db.collection.getPlanCache()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/PlanCache.clear.html">PlanCache.clear()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/PlanCache.clearPlansByQuery.html">PlanCache.clearPlansByQuery()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/PlanCache.getPlansByQuery.html">PlanCache.getPlansByQuery()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/PlanCache.help.html">PlanCache.help()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/PlanCache.listQueryShapes.html">PlanCache.listQueryShapes()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-bulk.html">Bulk Operation Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.initializeOrderedBulkOp.html">db.collection.initializeOrderedBulkOp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.collection.initializeUnorderedBulkOp.html">db.collection.initializeUnorderedBulkOp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.html">Bulk()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.execute.html">Bulk.execute()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.html">Bulk.find()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.arrayFilters.html">Bulk.find.arrayFilters()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.collation.html">Bulk.find.collation()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.hint.html">Bulk.find.hint()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.remove.html">Bulk.find.remove()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.removeOne.html">Bulk.find.removeOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.replaceOne.html">Bulk.find.replaceOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.updateOne.html">Bulk.find.updateOne()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.update.html">Bulk.find.update()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.find.upsert.html">Bulk.find.upsert()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.getOperations.html">Bulk.getOperations()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.insert.html">Bulk.insert()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.tojson.html">Bulk.tojson()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Bulk.toString.html">Bulk.toString()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-user-management.html">User Management Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.auth.html">db.auth()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.changeUserPassword.html">db.changeUserPassword()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.createUser.html">db.createUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.dropUser.html">db.dropUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.dropAllUsers.html">db.dropAllUsers()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getUser.html">db.getUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getUsers.html">db.getUsers()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.grantRolesToUser.html">db.grantRolesToUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.removeUser.html">db.removeUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.revokeRolesFromUser.html">db.revokeRolesFromUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.updateUser.html">db.updateUser()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/passwordPrompt.html">passwordPrompt()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-role-management.html">Role Management Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.createRole.html">db.createRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.dropRole.html">db.dropRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.dropAllRoles.html">db.dropAllRoles()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getRole.html">db.getRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getRoles.html">db.getRoles()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.grantPrivilegesToRole.html">db.grantPrivilegesToRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.revokePrivilegesFromRole.html">db.revokePrivilegesFromRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.grantRolesToRole.html">db.grantRolesToRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.revokeRolesFromRole.html">db.revokeRolesFromRole()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.updateRole.html">db.updateRole()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-replication.html">Replication Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/rs.add.html">rs.add()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.addArb.html">rs.addArb()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.conf.html">rs.conf()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.freeze.html">rs.freeze()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.help.html">rs.help()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.initiate.html">rs.initiate()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.printReplicationInfo.html">rs.printReplicationInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.printSlaveReplicationInfo.html">rs.printSlaveReplicationInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.reconfig.html">rs.reconfig()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.remove.html">rs.remove()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.slaveOk.html">rs.slaveOk()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.status.html">rs.status()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.stepDown.html">rs.stepDown()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rs.syncFrom.html">rs.syncFrom()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-sharding.html">Sharding Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/sh.addShard.html">sh.addShard()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.addShardTag.html">sh.addShardTag()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.addShardToZone.html">sh.addShardToZone()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.addTagRange.html">sh.addTagRange()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.disableBalancing.html">sh.disableBalancing()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.enableBalancing.html">sh.enableBalancing()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.disableAutoSplit.html">sh.disableAutoSplit</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.enableAutoSplit.html">sh.enableAutoSplit</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.enableSharding.html">sh.enableSharding()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.getBalancerHost.html">sh.getBalancerHost()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.getBalancerState.html">sh.getBalancerState()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.removeTagRange.html">sh.removeTagRange()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.removeRangeFromZone.html">sh.removeRangeFromZone()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.help.html">sh.help()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.isBalancerRunning.html">sh.isBalancerRunning()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.moveChunk.html">sh.moveChunk()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.removeShardTag.html">sh.removeShardTag()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.removeShardFromZone.html">sh.removeShardFromZone()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.setBalancerState.html">sh.setBalancerState()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.shardCollection.html">sh.shardCollection()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.splitAt.html">sh.splitAt()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.splitFind.html">sh.splitFind()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.startBalancer.html">sh.startBalancer()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.status.html">sh.status()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.stopBalancer.html">sh.stopBalancer()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.waitForBalancer.html">sh.waitForBalancer()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.waitForBalancerOff.html">sh.waitForBalancerOff()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.waitForPingChange.html">sh.waitForPingChange()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sh.updateZoneKeyRange.html">sh.updateZoneKeyRange()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/convertShardKeyToHashed.html">convertShardKeyToHashed</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-free-monitoring.html">Free Monitoring Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/db.disableFreeMonitoring.html">db.disableFreeMonitoring()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.enableFreeMonitoring.html">db.enableFreeMonitoring()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/db.getFreeMonitoringStatus.html">db.getFreeMonitoringStatus</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-constructor.html">Object Constructors and Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/BulkWriteResult.html">BulkWriteResult()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Date.html">Date()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ObjectId.html">ObjectId</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ObjectId.getTimestamp.html">ObjectId.getTimestamp()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ObjectId.toString.html">ObjectId.toString()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ObjectId.valueOf.html">ObjectId.valueOf()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/UUID.html">UUID()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/WriteResult.html">WriteResult()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/WriteResult.hasWriteError.html">WriteResult.hasWriteError()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/WriteResult.hasWriteConcernError.html">WriteResult.hasWriteConcernError()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-connection.html">Connection Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/connect.html">connect()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.html">Mongo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.getDB.html">Mongo.getDB()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.getReadPrefMode.html">Mongo.getReadPrefMode()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.getReadPrefTagSet.html">Mongo.getReadPrefTagSet()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.isCausalConsistency.html">Mongo.isCausalConsistency()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.setCausalConsistency.html">Mongo.setCausalConsistency()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.setReadPref.html">Mongo.setReadPref()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.setSlaveOk.html">Mongo.setSlaveOk()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.startSession.html">Mongo.startSession()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Mongo.watch.html">Mongo.watch()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/Session.html">Session</a><ul><li class="toctree-l5"><a class="reference internal" href="../method/Session.abortTransaction.html">Session.abortTransaction()</a></li><li class="toctree-l5"><a class="reference internal" href="../method/Session.commitTransaction.html">Session.commitTransaction()</a></li><li class="toctree-l5"><a class="reference internal" href="../method/Session.startTransaction.html">Session.startTransaction()</a></li></ul></li><li class="toctree-l4"><a class="reference internal" href="../method/SessionOptions.html">SessionOptions</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-native.html">Native Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/cat.html">cat()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/cd.html">cd()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/copyDbpath.html">copyDbpath()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/getHostName.html">getHostName()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/getMemInfo.html">getMemInfo()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/hostname.html">hostname()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/isInteractive.html">isInteractive()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/listFiles.html">listFiles()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/load.html">load()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ls.html">ls()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/md5sumFile.html">md5sumFile()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/mkdir.html">mkdir()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/pwd.html">pwd()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/quit.html">quit()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/removeFile.html">removeFile()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/resetDbpath.html">resetDbpath()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/sleep.html">sleep()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/setVerboseShell.html">setVerboseShell()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/version.html">version()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/isWindows.html">_isWindows()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/rand.html">_rand()</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../method/js-client-side-field-level-encryption.html">Client-Side Field Level Encryption Methods</a><ul><li class="toctree-l4"><a class="reference internal" href="../method/getKeyVault.html">getKeyVault()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.createKey.html">KeyVault.createKey()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.deleteKey.html">KeyVault.deleteKey()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.getKey.html">KeyVault.getKey()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.getKeys.html">KeyVault.getKeys()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.addKeyAlternateName.html">KeyVault.addKeyAlternateName()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.removeKeyAlternateName.html">KeyVault.removeKeyAlternateName()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/KeyVault.getKeyByAltName.html">KeyVault.getKeyByAltName()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/getClientEncryption.html">getClientEncryption()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ClientEncryption.encrypt.html">ClientEncryption.encrypt()</a></li><li class="toctree-l4"><a class="reference internal" href="../method/ClientEncryption.decrypt.html">ClientEncryption.decrypt()</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../program.html">MongoDB Package Components</a><ul><li class="toctree-l3"><a class="reference internal" href="../program/mongod.html"><code class="docutils literal"><span class="pre">mongod</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongos.html"><code class="docutils literal"><span class="pre">mongos</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongo.html"><code class="docutils literal"><span class="pre">mongo</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongod.exe.html"><code class="docutils literal"><span class="pre">mongod.exe</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongos.exe.html"><code class="docutils literal"><span class="pre">mongos.exe</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongodump.html"><code class="docutils literal"><span class="pre">mongodump</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongorestore.html"><code class="docutils literal"><span class="pre">mongorestore</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/bsondump.html"><code class="docutils literal"><span class="pre">bsondump</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongoimport.html"><code class="docutils literal"><span class="pre">mongoimport</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongoexport.html"><code class="docutils literal"><span class="pre">mongoexport</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongostat.html"><code class="docutils literal"><span class="pre">mongostat</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongotop.html"><code class="docutils literal"><span class="pre">mongotop</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongoreplay.html"><code class="docutils literal"><span class="pre">mongoreplay</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongoldap.html"><code class="docutils literal"><span class="pre">mongoldap</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/mongofiles.html"><code class="docutils literal"><span class="pre">mongofiles</span></code></a></li><li class="toctree-l3"><a class="reference internal" href="../program/install_compass.html"><code class="docutils literal"><span class="pre">install_compass</span></code></a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../configuration-options.html">Configuration File Options</a><ul><li class="toctree-l3"><a class="reference internal" href="../expansion-directives.html">Externally Sourced Configuration File Values</a></li><li class="toctree-l3"><a class="reference internal" href="../../tutorial/convert-command-line-options-to-yaml.html">Convert Command-Line Options to YAML</a></li><li class="toctree-l3"><a class="reference internal" href="../configuration-file-settings-command-line-options-mapping.html">Configuration File Settings and Command-Line Options Mapping</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../parameters.html">MongoDB Server Parameters</a></li><li class="toctree-l2"><a class="reference internal" href="../limits.html">MongoDB Limits and Thresholds</a></li><li class="toctree-l2"><a class="reference internal" href="../explain-results.html">Explain Results</a></li><li class="toctree-l2"><a class="reference internal" href="../system-collections.html">System Collections</a></li><li class="toctree-l2"><a class="reference internal" href="../connection-string.html">Connection String URI Format</a></li><li class="toctree-l2"><a class="reference internal" href="../collation.html">Collation</a><ul><li class="toctree-l3"><a class="reference internal" href="../collation-locales-defaults.html">Collation Locales and Default Parameters</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../mongodb-wire-protocol.html">MongoDB Wire Protocol</a></li><li class="toctree-l2"><a class="reference internal" href="../log-messages.html">Log Messages</a></li><li class="toctree-l2"><a class="reference internal" href="../exit-codes.html">Exit Codes and Statuses</a></li><li class="toctree-l2"><a class="reference internal" href="../glossary.html">Glossary</a></li><li class="toctree-l2"><a class="reference internal" href="../default-mongodb-port.html">Default MongoDB Port</a></li><li class="toctree-l2"><a class="reference internal" href="../server-sessions.html">Server Sessions</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../release-notes.html">Release Notes</a><ul><li class="toctree-l2"><a class="reference internal" href="../../release-notes/4.2.html">Release Notes for MongoDB 4.2</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-compatibility.html">Compatibility Changes in MongoDB 4.2</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-upgrade-standalone.html">Upgrade a Standalone to 4.2</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-upgrade-replica-set.html">Upgrade a Replica Set to 4.2</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-upgrade-sharded-cluster.html">Upgrade a Sharded Cluster to 4.2</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-downgrade.html">Downgrade 4.2 to 4.0</a><ul><li class="toctree-l4"><a class="reference internal" href="../../release-notes/4.2-downgrade-standalone.html">Downgrade 4.2 Standalone to 4.0</a></li><li class="toctree-l4"><a class="reference internal" href="../../release-notes/4.2-downgrade-replica-set.html">Downgrade 4.2 Replica Set to 4.0</a></li><li class="toctree-l4"><a class="reference internal" href="../../release-notes/4.2-downgrade-sharded-cluster.html">Downgrade 4.2 Sharded Cluster to 4.0</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.2-changelog.html">4.2 Changelog</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/4.0.html">Release Notes for MongoDB 4.0</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-compatibility.html">Compatibility Changes in MongoDB 4.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-upgrade-standalone.html">Upgrade a Standalone to 4.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-upgrade-replica-set.html">Upgrade a Replica Set to 4.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-upgrade-sharded-cluster.html">Upgrade a Sharded Cluster to 4.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-downgrade-standalone.html">Downgrade 4.0 Standalone to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-downgrade-replica-set.html">Downgrade 4.0 Replica Set to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-downgrade-sharded-cluster.html">Downgrade 4.0 Sharded Cluster to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/4.0-changelog.html">4.0 Changelog</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/3.6.html">Release Notes for MongoDB 3.6</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-changelog.html">3.6 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-compatibility.html">Compatibility Changes in MongoDB 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-upgrade-standalone.html">Upgrade a Standalone to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-upgrade-replica-set.html">Upgrade a Replica Set to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-upgrade-sharded-cluster.html">Upgrade a Sharded Cluster to 3.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-downgrade-standalone.html">Downgrade 3.6 Standalone to 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-downgrade-replica-set.html">Downgrade 3.6 Replica Set to 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.6-downgrade-sharded-cluster.html">Downgrade 3.6 Sharded Cluster to 3.4</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/3.4.html">Release Notes for MongoDB 3.4</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-changelog.html">3.4 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-compatibility.html">Compatibility Changes in MongoDB 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-upgrade-standalone.html">Upgrade a Standalone to 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-upgrade-replica-set.html">Upgrade a Replica Set to 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-upgrade-sharded-cluster.html">Upgrade a Sharded Cluster to 3.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.4-downgrade.html">Downgrade MongoDB 3.4 to 3.2</a><ul><li class="toctree-l4"><a class="reference internal" href="../../release-notes/3.4-downgrade-standalone.html">Downgrade 3.4 Standalone to 3.2</a></li><li class="toctree-l4"><a class="reference internal" href="../../release-notes/3.4-downgrade-replica-set.html">Downgrade 3.4 Replica Set to 3.2</a></li><li class="toctree-l4"><a class="reference internal" href="../../release-notes/3.4-downgrade-sharded-cluster.html">Downgrade 3.4 Sharded Cluster to 3.2</a></li></ul></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/3.2.html">Release Notes for MongoDB 3.2</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.2-changelog.html">3.2 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.2-compatibility.html">Compatibility Changes in MongoDB 3.2</a><ul><li class="toctree-l4"><a class="reference internal" href="../../release-notes/3.2-javascript.html">JavaScript Changes in MongoDB 3.2</a></li></ul></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.2-upgrade.html">Upgrade MongoDB to 3.2</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.2-downgrade.html">Downgrade MongoDB from 3.2</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/3.0.html">Release Notes for MongoDB 3.0</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.0-changelog.html">3.0 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.0-compatibility.html">Compatibility Changes in MongoDB 3.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.0-upgrade.html">Upgrade MongoDB to 3.0</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.0-scram.html">Upgrade to SCRAM</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/3.0-downgrade.html">Downgrade MongoDB from 3.0</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/2.6.html">Release Notes for MongoDB 2.6</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.6-changelog.html">2.6 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.6-compatibility.html">Compatibility Changes in MongoDB 2.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.6-upgrade.html">Upgrade MongoDB to 2.6</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.6-upgrade-authorization.html">Upgrade User Authorization Data to 2.6 Format</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.6-downgrade.html">Downgrade MongoDB from 2.6</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/2.4.html">Release Notes for MongoDB 2.4</a><ul><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.4-changelog.html">2.4 Changelog</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.4-javascript.html">JavaScript Changes in MongoDB 2.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.4-upgrade.html">Upgrade MongoDB to 2.4</a></li><li class="toctree-l3"><a class="reference internal" href="../../release-notes/2.4-index-types.html">Compatibility and Index Type Changes in MongoDB 2.4</a></li></ul></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/2.2.html">Release Notes for MongoDB 2.2</a></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/2.0.html">Release Notes for MongoDB 2.0</a></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/1.8.html">Release Notes for MongoDB 1.8</a></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/1.6.html">Release Notes for MongoDB 1.6</a></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/1.4.html">Release Notes for MongoDB 1.4</a></li><li class="toctree-l2"><a class="reference internal" href="../../release-notes/1.2.html">Release Notes for MongoDB 1.2.x</a></li><li class="toctree-l2"><a class="reference internal" href="../versioning.html">MongoDB Versioning</a></li></ul></li><li class="toctree-l1"><a class="reference internal" href="../../support.html">Technical Support</a></li></ul>


    </div>
  </div>
           
         </aside>

   </div>

    <div id="main-column" class="main-column">

    <span id="showNav" class="showNav">Navigation</span>

      
        <div class="document">
            <div class="documentwrapper"><div class="bodywrapper">
              <div class="body" data-pagename="reference/command/serverStatus">
                   <a class="edit-link" href="https://github.com/mongodb/docs/blob/v4.2/source/reference/command/serverStatus.txt" target="_blank" title="Edit reference/command/serverStatus.txt on GitHub">
    
      <span class="icon-edit"></span>
    
  </a>
                

                
  <div class="bc">
    
      <ul>
          <li><a href="../../reference.html">Reference</a><span class="bcpoint"> > </span></li>
            
          <li><a href="../command.html">Database Commands</a><span class="bcpoint"> > </span></li>
            
          <li><a href="nav-diagnostic.html">Diagnostic Commands</a><span class="bcpoint"> > </span></li>
            <li>serverStatus</li> 
      </ul>
    
    
  </div>
                
                  <div class="section" id="serverstatus">
<h1>serverStatus<a class="headerlink" href="#serverstatus" title="Permalink to this headline">¶</a></h1>
<div class="contents singlecol local topic" id="on-this-page">
<p class="topic-title first">On this page</p>
<ul class="simple">
<li><a class="reference internal" href="#definition" id="id5">Definition</a></li>
<li><a class="reference internal" href="#syntax" id="id6">Syntax</a></li>
<li><a class="reference internal" href="#behavior" id="id7">Behavior</a></li>
<li><a class="reference internal" href="#output" id="id8">Output</a></li>
<li><a class="reference internal" href="#output-changelog" id="id9">Output Changelog</a></li>
</ul>
</div>
<div class="section" id="definition">
<h2>Definition<a class="headerlink" href="#definition" title="Permalink to this headline">¶</a></h2>
<dl class="dbcommand">
<dt id="dbcmd.serverStatus">
<code class="descname">serverStatus</code><a class="headerlink" href="#dbcmd.serverStatus" title="Permalink to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> command returns a document that
provides an overview of the database’s state. Monitoring
applications can run this command at a regular interval to
collect statistics about the instance.</p>
</dd></dl>

</div>
<div class="section" id="syntax">
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
<p>The command has the following syntax:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="nx">db</span><span class="p">.</span><span class="nx">runCommand</span><span class="p">(</span> <span class="p">{</span> <span class="nx">serverStatus</span><span class="o">:</span> <span class="mi">1</span> <span class="p">}</span> <span class="p">)</span>
</pre></div>
</div>
</div>
<p>The value (i.e. <code class="docutils literal"><span class="pre">1</span></code> above) does not affect the operation of the
command. The <a class="reference internal" href="../program/mongo.html#bin.mongo" title="bin.mongo"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongo</span></code></a> shell provides the
<a class="reference internal" href="../method/db.serverStatus.html#db.serverStatus" title="db.serverStatus()"><code class="xref mongodb mongodb-method docutils literal"><span class="pre">db.serverStatus()</span></code></a> wrapper for the command.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last">Much of the output of <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> is also displayed
dynamically by <a class="reference internal" href="../program/mongostat.html#bin.mongostat" title="bin.mongostat"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongostat</span></code></a>. See the
<a class="reference internal" href="../program/mongostat.html"><span class="doc">mongostat</span></a> command for more information.</p>
</div>
</div>
<div class="section" id="behavior">
<h2>Behavior<a class="headerlink" href="#behavior" title="Permalink to this headline">¶</a></h2>
<p>By default, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> excludes in its output some content in
the <a class="reference internal" href="#server-status-repl"><span class="std std-ref">repl</span></a> document.</p>
<p>To include fields that are excluded by default, specify the top-level
field and set it to <code class="docutils literal"><span class="pre">1</span></code> in the command. To exclude fields that are
included by default, specify the top-level field and set to <code class="docutils literal"><span class="pre">0</span></code> in
the command.</p>
<p>For example, the following operation suppresses the <code class="docutils literal"><span class="pre">repl</span></code>,
<code class="docutils literal"><span class="pre">metrics</span></code> and <code class="docutils literal"><span class="pre">locks</span></code> information in the output.</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="nx">db</span><span class="p">.</span><span class="nx">runCommand</span><span class="p">(</span> <span class="p">{</span> <span class="nx">serverStatus</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nx">repl</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">metrics</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span> <span class="nx">locks</span><span class="o">:</span> <span class="mi">0</span> <span class="p">}</span> <span class="p">)</span>
</pre></div>
</div>
</div>
<p>The following example includes
all <a class="reference internal" href="#server-status-repl"><span class="std std-ref">repl</span></a> information in the output:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="nx">db</span><span class="p">.</span><span class="nx">runCommand</span><span class="p">(</span> <span class="p">{</span> <span class="nx">serverStatus</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>  <span class="nx">repl</span><span class="o">:</span> <span class="mi">1</span> <span class="p">}</span> <span class="p">)</span>
</pre></div>
</div>
</div>
</div>
<div class="section" id="output">
<span id="server-status-output"></span><h2>Output<a class="headerlink" href="#output" title="Permalink to this headline">¶</a></h2>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>The output fields vary depending on the version of MongoDB,
underlying operating system platform, the storage engine, and the
kind of node, including <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>, <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> or
<a class="reference internal" href="../glossary.html#term-replica-set"><span class="xref std std-term">replica set</span></a> member.</p>
<p class="last">For the <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> output specific to the version of
your MongoDB, refer to the appropriate version of the MongoDB Manual.</p>
</div>
<div class="section" id="instance-information">
<span id="server-status-instance-information"></span><h3>Instance Information<a class="headerlink" href="#instance-information" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;host&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;advisoryHostFQDNs&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">array</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;version&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;process&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="s2">&quot;mongod&quot;</span><span class="o">|</span><span class="s2">&quot;mongos&quot;</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;pid&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;uptime&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;uptimeMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;uptimeEstimate&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
<span class="s2">&quot;localTime&quot;</span> <span class="o">:</span> <span class="nx">ISODate</span><span class="p">(</span><span class="s2">&quot;&quot;</span><span class="p">),</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.host">
<code class="descname">host</code><a class="headerlink" href="#serverstatus.host" title="Permalink to this definition">¶</a></dt>
<dd><p>The system’s hostname. In Unix/Linux systems, this should be the
same as the output of the <code class="docutils literal"><span class="pre">hostname</span></code> command.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.advisoryHostFQDNs">
<code class="descname">advisoryHostFQDNs</code><a class="headerlink" href="#serverstatus.advisoryHostFQDNs" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 3.2.</span></p>
</div>
<p>An array of the system’s fully qualified domain names (FQDNs).</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.version">
<code class="descname">version</code><a class="headerlink" href="#serverstatus.version" title="Permalink to this definition">¶</a></dt>
<dd><p>The MongoDB version of the current MongoDB process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.process">
<code class="descname">process</code><a class="headerlink" href="#serverstatus.process" title="Permalink to this definition">¶</a></dt>
<dd><p>The current MongoDB process. Possible values are: <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> or
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.pid">
<code class="descname">pid</code><a class="headerlink" href="#serverstatus.pid" title="Permalink to this definition">¶</a></dt>
<dd><p>The process id number.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.uptime">
<code class="descname">uptime</code><a class="headerlink" href="#serverstatus.uptime" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of seconds that the current MongoDB process has been
active.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.uptimeMillis">
<code class="descname">uptimeMillis</code><a class="headerlink" href="#serverstatus.uptimeMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of milliseconds that the current MongoDB process has been
active.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.uptimeEstimate">
<code class="descname">uptimeEstimate</code><a class="headerlink" href="#serverstatus.uptimeEstimate" title="Permalink to this definition">¶</a></dt>
<dd><p>The uptime in seconds as calculated from MongoDB’s internal
course-grained time keeping system.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.localTime">
<code class="descname">localTime</code><a class="headerlink" href="#serverstatus.localTime" title="Permalink to this definition">¶</a></dt>
<dd><p>The ISODate representing the current time, according to the server,
in UTC.</p>
</dd></dl>

</div>
<div class="section" id="asserts">
<span id="server-status-asserts"></span><h3>asserts<a class="headerlink" href="#asserts" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;asserts&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;regular&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;warning&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;msg&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;user&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;rollovers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.asserts">
<code class="descname">asserts</code><a class="headerlink" href="#serverstatus.asserts" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the number of assertions raised since the
MongoDB process started. While assert errors are typically uncommon,
if there are non-zero values for the <code class="xref mongodb mongodb-data docutils literal"><span class="pre">asserts</span></code>, you should
check the log file for more information. In many cases, these errors
are trivial, but are worth investigating.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.asserts.regular">
<code class="descclassname">asserts.</code><code class="descname">regular</code><a class="headerlink" href="#serverstatus.asserts.regular" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of regular assertions raised since the MongoDB process
started. Check the log file for more information about these
messages.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.asserts.warning">
<code class="descclassname">asserts.</code><code class="descname">warning</code><a class="headerlink" href="#serverstatus.asserts.warning" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionchanged">
<p><span class="versionmodified">Changed in version 4.0.</span></p>
</div>
<p>Starting in MongoDB 4.0, the field returns zero <code class="docutils literal"><span class="pre">0</span></code>.</p>
<p>In earlier versions, the field returns the number of warnings raised
since the MongoDB process started.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.asserts.msg">
<code class="descclassname">asserts.</code><code class="descname">msg</code><a class="headerlink" href="#serverstatus.asserts.msg" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of message assertions raised since the MongoDB process
started. Check the log file for more information about these
messages.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.asserts.user">
<code class="descclassname">asserts.</code><code class="descname">user</code><a class="headerlink" href="#serverstatus.asserts.user" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of “user asserts” that have occurred since the last time
the MongoDB process started. These are errors that user may
generate, such as out of disk space or duplicate key. You can
prevent these assertions by fixing a problem with your application
or deployment. Check the MongoDB log for more information.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.asserts.rollovers">
<code class="descclassname">asserts.</code><code class="descname">rollovers</code><a class="headerlink" href="#serverstatus.asserts.rollovers" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times that the rollover counters have rolled over
since the last time the MongoDB process started. The counters will
rollover to zero after 2<sup>30</sup> assertions. Use this
value to provide context to the other values in the
<a class="reference internal" href="#serverstatus.asserts" title="asserts"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">asserts</span></code></a> data structure.</p>
</dd></dl>

</div>
<div class="section" id="connections">
<span id="server-status-connections"></span><h3>connections<a class="headerlink" href="#connections" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;connections&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;current&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;available&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalCreated&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;active&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.connections">
<code class="descname">connections</code><a class="headerlink" href="#serverstatus.connections" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the status of the connections. Use these
values to assess the current load and capacity requirements of the
server.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.connections.current">
<code class="descclassname">connections.</code><code class="descname">current</code><a class="headerlink" href="#serverstatus.connections.current" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of incoming connections from clients to the database
server . This number includes the current shell session. Consider
the value of <a class="reference internal" href="#serverstatus.connections.available" title="connections.available"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">connections.available</span></code></a> to add more
context to this datum.</p>
<p>The value will include all incoming connections including any shell
connections or connections from other servers, such as
<a class="reference internal" href="../glossary.html#term-replica-set"><span class="xref std std-term">replica set</span></a> members or <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instances.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.connections.available">
<code class="descclassname">connections.</code><code class="descname">available</code><a class="headerlink" href="#serverstatus.connections.available" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of unused incoming connections available. Consider this
value in combination with the value of
<a class="reference internal" href="#serverstatus.connections.current" title="connections.current"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">connections.current</span></code></a> to understand the connection
load on the database, and the <a class="reference internal" href="../ulimit.html"><span class="doc">UNIX ulimit Settings</span></a> document for
more information about system thresholds on available connections.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.connections.totalCreated">
<code class="descclassname">connections.</code><code class="descname">totalCreated</code><a class="headerlink" href="#serverstatus.connections.totalCreated" title="Permalink to this definition">¶</a></dt>
<dd><p>Count of <strong>all</strong> incoming connections created to the server. This
number includes connections that have since closed.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.connections.active">
<code class="descclassname">connections.</code><code class="descname">active</code><a class="headerlink" href="#serverstatus.connections.active" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of active client connections to the server. Active client
connections refers to client connections that currently have
operations in progress.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.0.7.</span></p>
</div>
</dd></dl>

</div>
<div class="section" id="electionmetrics">
<span id="server-status-electionmetrics"></span><h3>electionMetrics<a class="headerlink" href="#electionmetrics" title="Permalink to this headline">¶</a></h3>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
<p>The <code class="docutils literal"><span class="pre">electionMetrics</span></code> section provides information on elections
called by this <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance in a bid to become the
primary:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;electionMetrics&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;stepUpCmd&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;called&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;priorityTakeover&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;called&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;catchUpTakeover&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;called&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;electionTimeout&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;called&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;freezeTimeout&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;called&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;numStepDownsCausedByHigherTerm&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUps&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsSucceeded&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsAlreadyCaughtUp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsSkipped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsTimedOut&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsFailedWithError&quot;</span> <span class="o">:&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsFailedWithNewTerm&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numCatchUpsFailedWithReplSetAbortPrimaryCatchUpCmd&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;averageCatchUpOps&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">double</span><span class="o">&gt;</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.stepUpCmd">
<code class="descclassname">electionMetrics.</code><code class="descname">stepUpCmd</code><a class="headerlink" href="#serverstatus.electionMetrics.stepUpCmd" title="Permalink to this definition">¶</a></dt>
<dd><p>Metrics on elections that were called by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance as part of an <a class="reference internal" href="../parameters.html#param.enableElectionHandoff" title="enableElectionHandoff"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">election</span> <span class="pre">handoff</span></code></a> when the primary stepped down.</p>
<p>The <a class="reference internal" href="#serverstatus.electionMetrics.stepUpCmd" title="electionMetrics.stepUpCmd"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">stepUpCmd</span></code></a> includes both the number of elections
called and the number of elections that succeeded.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.priorityTakeover">
<code class="descclassname">electionMetrics.</code><code class="descname">priorityTakeover</code><a class="headerlink" href="#serverstatus.electionMetrics.priorityTakeover" title="Permalink to this definition">¶</a></dt>
<dd><p>Metrics on elections that were called by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance because its <code class="xref mongodb mongodb-rsconf docutils literal"><span class="pre">priority</span></code> is higher
than the primary’s.</p>
<p>The <a class="reference internal" href="#serverstatus.electionMetrics.priorityTakeover" title="electionMetrics.priorityTakeover"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">electionMetrics.priorityTakeover</span></code></a> includes both the number of
elections called and the number of elections that succeeded.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.catchUpTakeover">
<code class="descclassname">electionMetrics.</code><code class="descname">catchUpTakeover</code><a class="headerlink" href="#serverstatus.electionMetrics.catchUpTakeover" title="Permalink to this definition">¶</a></dt>
<dd><p>Metrics on elections called by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance
because it is more-up-to-date than the primary.</p>
<p>The <a class="reference internal" href="#serverstatus.electionMetrics.catchUpTakeover" title="electionMetrics.catchUpTakeover"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">catchUpTakeover</span></code></a> includes both the number of
elections called and the number of elections that succeeded.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference internal" href="../replica-configuration.html#rsconf.settings.catchUpTakeoverDelayMillis" title="settings.catchUpTakeoverDelayMillis"><code class="xref mongodb mongodb-rsconf docutils literal"><span class="pre">settings.catchUpTakeoverDelayMillis</span></code></a></p>
</div>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.electionTimeout">
<code class="descclassname">electionMetrics.</code><code class="descname">electionTimeout</code><a class="headerlink" href="#serverstatus.electionMetrics.electionTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>Metrics on elections called by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance
because it has not been able to reach the primary within
<a class="reference internal" href="../replica-configuration.html#rsconf.settings.electionTimeoutMillis" title="settings.electionTimeoutMillis"><code class="xref mongodb mongodb-rsconf docutils literal"><span class="pre">settings.electionTimeoutMillis</span></code></a>.</p>
<p>The <a class="reference internal" href="#serverstatus.electionMetrics.electionTimeout" title="electionMetrics.electionTimeout"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">electionTimeout</span></code></a> includes both the number of
elections called and the number of elections that succeeded.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference internal" href="../replica-configuration.html#rsconf.settings.electionTimeoutMillis" title="settings.electionTimeoutMillis"><code class="xref mongodb mongodb-rsconf docutils literal"><span class="pre">settings.electionTimeoutMillis</span></code></a></p>
</div>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.freezeTimeout">
<code class="descclassname">electionMetrics.</code><code class="descname">freezeTimeout</code><a class="headerlink" href="#serverstatus.electionMetrics.freezeTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>Metrics on elections called by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance
after its <a class="reference internal" href="replSetFreeze.html#dbcmd.replSetFreeze" title="replSetFreeze"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">freeze</span> <span class="pre">period</span></code></a> (during which the
member cannot seek an election) has expired.</p>
<p>The <a class="reference internal" href="#serverstatus.electionMetrics.freezeTimeout" title="electionMetrics.freezeTimeout"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">electionMetrics.freezeTimeout</span></code></a> includes both the number of
elections called and the number of elections that succeeded.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numStepDownsCausedByHigherTerm">
<code class="descclassname">electionMetrics.</code><code class="descname">numStepDownsCausedByHigherTerm</code><a class="headerlink" href="#serverstatus.electionMetrics.numStepDownsCausedByHigherTerm" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance stepped down
because it saw a higher term (i.e. other member/members have
participated in additional elections).</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUps">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUps</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUps" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of elections where the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance as the
newly-elected primary had to catch up to the highest known oplog
entry.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsSucceeded">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsSucceeded</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsSucceeded" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance as the
newly-elected primary successfully caught up to the highest known
oplog entry.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsAlreadyCaughtUp">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsAlreadyCaughtUp</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsAlreadyCaughtUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance as the
newly-elected primary concluded its catchup process because it was
already caught up when elected</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsSkipped">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsSkipped</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsSkipped" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance as the
newly-elected primary skipped the catchup process.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsTimedOut">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsTimedOut</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsTimedOut" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance as the
newly-elected primary concluded its catchup process because of the
<a class="reference internal" href="../replica-configuration.html#rsconf.settings.catchUpTimeoutMillis" title="settings.catchUpTimeoutMillis"><code class="xref mongodb mongodb-rsconf docutils literal"><span class="pre">settings.catchUpTimeoutMillis</span></code></a> limit.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsFailedWithError">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsFailedWithError</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsFailedWithError" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the newly-elected primary’s catchup process failed
with an error.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsFailedWithNewTerm">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsFailedWithNewTerm</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsFailedWithNewTerm" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the newly-elected primary’s catchup process
concluded because another member(s) had a higher term (i.e. other
member/members have participated in additional elections).</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.numCatchUpsFailedWithReplSetAbortPrimaryCatchUpCmd">
<code class="descclassname">electionMetrics.</code><code class="descname">numCatchUpsFailedWithReplSetAbortPrimaryCatchUpCmd</code><a class="headerlink" href="#serverstatus.electionMetrics.numCatchUpsFailedWithReplSetAbortPrimaryCatchUpCmd" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the newly-elected primary’s catchup process
concluded because the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> received the
<a class="reference internal" href="replSetAbortPrimaryCatchUp.html#dbcmd.replSetAbortPrimaryCatchUp" title="replSetAbortPrimaryCatchUp"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">replSetAbortPrimaryCatchUp</span></code></a> command.</p>
<p><em>Available starting in 4.2.1 (and 4.0.13)</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.electionMetrics.averageCatchUpOps">
<code class="descclassname">electionMetrics.</code><code class="descname">averageCatchUpOps</code><a class="headerlink" href="#serverstatus.electionMetrics.averageCatchUpOps" title="Permalink to this definition">¶</a></dt>
<dd><p>Average number of operations applied during the newly-elected
primary’s catchup processes.</p>
<p><em>Available starting in 4.2.1</em></p>
</dd></dl>

</div>
<div class="section" id="extra-info">
<span id="server-status-extrainfo"></span><span id="id1"></span><span id="server-status-extra-info"></span><h3>extra_info<a class="headerlink" href="#extra-info" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;extra_info&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;note&quot;</span> <span class="o">:</span> <span class="s2">&quot;fields vary by platform.&quot;</span><span class="p">,</span>
   <span class="s2">&quot;heap_usage_bytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;page_faults&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.extra_info">
<code class="descname">extra_info</code><a class="headerlink" href="#serverstatus.extra_info" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that provides additional information regarding the
underlying system.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.extra_info.note">
<code class="descclassname">extra_info.</code><code class="descname">note</code><a class="headerlink" href="#serverstatus.extra_info.note" title="Permalink to this definition">¶</a></dt>
<dd><p>A string with the text <code class="docutils literal"><span class="pre">&quot;fields</span> <span class="pre">vary</span> <span class="pre">by</span> <span class="pre">platform.&quot;</span></code></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.extra_info.heap_usage_bytes">
<code class="descclassname">extra_info.</code><code class="descname">heap_usage_bytes</code><a class="headerlink" href="#serverstatus.extra_info.heap_usage_bytes" title="Permalink to this definition">¶</a></dt>
<dd><p>The total size in bytes of heap space used by the database process.
Available on Unix/Linux systems only.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.extra_info.page_faults">
<code class="descclassname">extra_info.</code><code class="descname">page_faults</code><a class="headerlink" href="#serverstatus.extra_info.page_faults" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of page faults. The
<a class="reference internal" href="#serverstatus.extra_info.page_faults" title="extra_info.page_faults"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">extra_info.page_faults</span></code></a> counter may increase
dramatically during moments of poor performance and may correlate
with limited memory environments and larger data sets. Limited and
sporadic page faults do not necessarily indicate an issue.</p>
<p>Windows draws a distinction between “hard” page faults involving
disk I/O, and “soft” page faults that only require moving pages in
memory. MongoDB counts both hard and soft page faults in this
statistic.</p>
</dd></dl>

</div>
<div class="section" id="flowcontrol">
<span id="server-status-flowcontrol"></span><h3>flowControl<a class="headerlink" href="#flowcontrol" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;flowControl&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;enabled&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;targetRateLimit&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;timeAcquiringMicros&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;locksPerOp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">double</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;sustainerRate&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;isLagged&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;isLaggedCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;isLaggedTimeMicros&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.flowControl">
<code class="descname">flowControl</code><a class="headerlink" href="#serverstatus.flowControl" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on the <a class="reference internal" href="../../tutorial/troubleshoot-replica-sets.html#flow-control"><span class="std std-ref">Flow Control</span></a>. With
flow control enabled, as the <a class="reference internal" href="replSetGetStatus.html#replSetGetStatus.optimes.lastCommittedOpTime" title="replSetGetStatus.optimes.lastCommittedOpTime"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">majority</span> <span class="pre">commit</span></code></a> point lag grows
close to the <a class="reference internal" href="../parameters.html#param.flowControlTargetLagSeconds" title="flowControlTargetLagSeconds"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">flowControlTargetLagSeconds</span></code></a>, writes on the
primary must obtain tickets before taking locks. As such, the
metrics returned are meaningful when run on the primary.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.enabled">
<code class="descclassname">flowControl.</code><code class="descname">enabled</code><a class="headerlink" href="#serverstatus.flowControl.enabled" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that indicates whether <a class="reference internal" href="../../tutorial/troubleshoot-replica-sets.html#flow-control"><span class="std std-ref">Flow Control</span></a> is
enabled(<code class="docutils literal"><span class="pre">true</span></code>) or disabled (<code class="docutils literal"><span class="pre">false</span></code>).</p>
<p>See also <a class="reference internal" href="../parameters.html#param.enableFlowControl" title="enableFlowControl"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">enableFlowControl</span></code></a>.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.targetRateLimit">
<code class="descclassname">flowControl.</code><code class="descname">targetRateLimit</code><a class="headerlink" href="#serverstatus.flowControl.targetRateLimit" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, the maximum number of tickets that can be
acquired per second.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.timeAcquiringMicros">
<code class="descclassname">flowControl.</code><code class="descname">timeAcquiringMicros</code><a class="headerlink" href="#serverstatus.flowControl.timeAcquiringMicros" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, the total time write operations have waited
to acquire a ticket.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.locksPerOp">
<code class="descclassname">flowControl.</code><code class="descname">locksPerOp</code><a class="headerlink" href="#serverstatus.flowControl.locksPerOp" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, an approximation of the number of locks taken
per operation.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.sustainerRate">
<code class="descclassname">flowControl.</code><code class="descname">sustainerRate</code><a class="headerlink" href="#serverstatus.flowControl.sustainerRate" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, an approximation of operations applied per
second by the secondary that is sustaining the commit point.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.isLagged">
<code class="descclassname">flowControl.</code><code class="descname">isLagged</code><a class="headerlink" href="#serverstatus.flowControl.isLagged" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, a boolean that indicates whether flow
control has engaged. Flow control engages when the majority
committed lag is greater than some percentage of the configured
<a class="reference internal" href="../parameters.html#param.flowControlTargetLagSeconds" title="flowControlTargetLagSeconds"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">flowControlTargetLagSeconds</span></code></a>.</p>
<p>When run on a secondary, the returned boolean is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.isLaggedCount">
<code class="descclassname">flowControl.</code><code class="descname">isLaggedCount</code><a class="headerlink" href="#serverstatus.flowControl.isLaggedCount" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on a primary, the number of times flow control has engaged
since the last restart. Flow control engages when the majority
committed lag is greater than some percentage of the
<a class="reference internal" href="../parameters.html#param.flowControlTargetLagSeconds" title="flowControlTargetLagSeconds"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">flowControlTargetLagSeconds</span></code></a>.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.flowControl.isLaggedTimeMicros">
<code class="descclassname">flowControl.</code><code class="descname">isLaggedTimeMicros</code><a class="headerlink" href="#serverstatus.flowControl.isLaggedTimeMicros" title="Permalink to this definition">¶</a></dt>
<dd><p>When run on the primary, the amount of time flow control has spent
being engaged since the last restart. Flow control engages when the
majority committed lag is greater than some percentage of the
<a class="reference internal" href="../parameters.html#param.flowControlTargetLagSeconds" title="flowControlTargetLagSeconds"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">flowControlTargetLagSeconds</span></code></a>.</p>
<p>When run on a secondary, the returned number is a placeholder.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

</div>
<div class="section" id="freemonitoring">
<span id="server-status-freemonitoring"></span><h3>freeMonitoring<a class="headerlink" href="#freemonitoring" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;freeMonitoring&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;state&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;retryIntervalSecs&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastRunTime&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;registerErrors&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;metricsErrors&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring">
<code class="descname">freeMonitoring</code><a class="headerlink" href="#serverstatus.freeMonitoring" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the <a class="reference internal" href="../../administration/free-monitoring.html"><span class="doc">free Cloud monitoring</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring.state">
<code class="descclassname">freeMonitoring.</code><code class="descname">state</code><a class="headerlink" href="#serverstatus.freeMonitoring.state" title="Permalink to this definition">¶</a></dt>
<dd><p>The enablement state of free monitoring. The values can be one of
the following:</p>
<ul class="simple">
<li>“enabled”</li>
<li>“disabled”</li>
<li>“pending” if the enable free monitoring encountered a registeration error.</li>
</ul>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring.retryIntervalSecs">
<code class="descclassname">freeMonitoring.</code><code class="descname">retryIntervalSecs</code><a class="headerlink" href="#serverstatus.freeMonitoring.retryIntervalSecs" title="Permalink to this definition">¶</a></dt>
<dd><p>The frequency, in seconds, at which data is uploaded.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring.lastRunTime">
<code class="descclassname">freeMonitoring.</code><code class="descname">lastRunTime</code><a class="headerlink" href="#serverstatus.freeMonitoring.lastRunTime" title="Permalink to this definition">¶</a></dt>
<dd><p>The date and time of the last run of the metrics upload.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring.registerErrors">
<code class="descclassname">freeMonitoring.</code><code class="descname">registerErrors</code><a class="headerlink" href="#serverstatus.freeMonitoring.registerErrors" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of registration errors, incremented on unexpected HTTP
status or network errors.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.freeMonitoring.metricsErrors">
<code class="descclassname">freeMonitoring.</code><code class="descname">metricsErrors</code><a class="headerlink" href="#serverstatus.freeMonitoring.metricsErrors" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of errors encountered when uploading metrics.</p>
</dd></dl>

</div>
<div class="section" id="server-status-global-lock">
<span id="server-status-globallock"></span><span id="global-lock"></span><span id="globallock"></span><span id="id2"></span><h3>globalLock<a class="headerlink" href="#server-status-global-lock" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;globalLock&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;totalTime&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;currentQueue&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;total&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;readers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;writers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;activeClients&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;total&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;readers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;writers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">}</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.globalLock">
<code class="descname">globalLock</code><a class="headerlink" href="#serverstatus.globalLock" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the database’s lock state.</p>
<p>Generally, the <a class="reference internal" href="#locks"><span class="std std-ref">locks</span></a> document provides more detailed
data on lock uses.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.totalTime">
<code class="descclassname">globalLock.</code><code class="descname">totalTime</code><a class="headerlink" href="#serverstatus.globalLock.totalTime" title="Permalink to this definition">¶</a></dt>
<dd><p>The time, in microseconds, since the database last started and
created the <a class="reference internal" href="#serverstatus.globalLock" title="globalLock"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">globalLock</span></code></a>. This is roughly equivalent
to total server uptime.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.currentQueue">
<code class="descclassname">globalLock.</code><code class="descname">currentQueue</code><a class="headerlink" href="#serverstatus.globalLock.currentQueue" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that provides information concerning the number of
operations queued because of a lock.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.currentQueue.total">
<code class="descclassname">globalLock.currentQueue.</code><code class="descname">total</code><a class="headerlink" href="#serverstatus.globalLock.currentQueue.total" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of operations queued waiting for the lock (i.e.,
the sum of <a class="reference internal" href="#serverstatus.globalLock.currentQueue.readers" title="globalLock.currentQueue.readers"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">globalLock.currentQueue.readers</span></code></a> and
<a class="reference internal" href="#serverstatus.globalLock.currentQueue.writers" title="globalLock.currentQueue.writers"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">globalLock.currentQueue.writers</span></code></a>).</p>
<p>A consistently small queue, particularly of shorter operations,
should cause no concern. The
<a class="reference internal" href="#serverstatus.globalLock.activeClients" title="globalLock.activeClients"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">globalLock.activeClients</span></code></a> readers and writers
information provides context for this data.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.currentQueue.readers">
<code class="descclassname">globalLock.currentQueue.</code><code class="descname">readers</code><a class="headerlink" href="#serverstatus.globalLock.currentQueue.readers" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of operations that are currently queued and waiting for
the read lock. A consistently small read-queue, particularly of
shorter operations, should cause no concern.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.currentQueue.writers">
<code class="descclassname">globalLock.currentQueue.</code><code class="descname">writers</code><a class="headerlink" href="#serverstatus.globalLock.currentQueue.writers" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of operations that are currently queued and waiting for
the write lock. A consistently small write-queue, particularly of
shorter operations, is no cause for concern.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.activeClients">
<code class="descclassname">globalLock.</code><code class="descname">activeClients</code><a class="headerlink" href="#serverstatus.globalLock.activeClients" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that provides information about the number of connected
clients and the read and write operations performed by these clients.</p>
<p>Use this data to provide context for the
<a class="reference internal" href="#serverstatus.globalLock.currentQueue" title="globalLock.currentQueue"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">globalLock.currentQueue</span></code></a> data.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.activeClients.total">
<code class="descclassname">globalLock.activeClients.</code><code class="descname">total</code><a class="headerlink" href="#serverstatus.globalLock.activeClients.total" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of internal client connections to the database
including system threads as well as queued readers and writers.
This metric will be higher than the total of <code class="docutils literal"><span class="pre">activeClients.readers</span></code>
and <code class="docutils literal"><span class="pre">activeClients.writers</span></code> due to the inclusion of system threads.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.activeClients.readers">
<code class="descclassname">globalLock.activeClients.</code><code class="descname">readers</code><a class="headerlink" href="#serverstatus.globalLock.activeClients.readers" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of the active client connections performing read
operations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.globalLock.activeClients.writers">
<code class="descclassname">globalLock.activeClients.</code><code class="descname">writers</code><a class="headerlink" href="#serverstatus.globalLock.activeClients.writers" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of active client connections performing write operations.</p>
</dd></dl>

</div>
<div class="section" id="logicalsessionrecordcache">
<span id="server-status-logicalsessions"></span><h3>logicalSessionRecordCache<a class="headerlink" href="#logicalsessionrecordcache" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.6.</span></p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;logicalSessionRecordCache&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;activeSessionsCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;sessionsCollectionJobCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastSessionsCollectionJobDurationMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastSessionsCollectionJobTimestamp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">Date</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastSessionsCollectionJobEntriesRefreshed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastSessionsCollectionJobEntriesEnded&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastSessionsCollectionJobCursorsClosed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;transactionReaperJobCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastTransactionReaperJobDurationMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastTransactionReaperJobTimestamp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">Date</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastTransactionReaperJobEntriesCleanedUp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;sessionCatalogSize&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>   <span class="c1">// Starting in MongoDB 4.2</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache">
<code class="descname">logicalSessionRecordCache</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache" title="Permalink to this definition">¶</a></dt>
<dd><p>Provides metrics around the caching of <a class="reference internal" href="../server-sessions.html"><span class="doc">server sessions</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.activeSessionsCount">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">activeSessionsCount</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.activeSessionsCount" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of all active local sessions cached in memory by the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> or <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance since the last
refresh period.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<ul class="last simple">
<li><a class="reference internal" href="../operator/aggregation/listLocalSessions.html#pipe._S_listLocalSessions" title="$listLocalSessions"><code class="xref mongodb mongodb-pipeline docutils literal"><span class="pre">$listLocalSessions</span></code></a></li>
<li><a class="reference internal" href="../parameters.html#param.logicalSessionRefreshMillis" title="logicalSessionRefreshMillis"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">logicalSessionRefreshMillis</span></code></a></li>
<li><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">logicalSessionRefreshMinutes</span></code></li>
</ul>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.sessionsCollectionJobCount">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">sessionsCollectionJobCount</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.sessionsCollectionJobCount" title="Permalink to this definition">¶</a></dt>
<dd><p>The number that tracks the number of times the refresh process has
run on the <a class="reference internal" href="../config-database.html#config.system.sessions" title="config.system.sessions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.system.sessions</span></code></a> collection.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">logicalSessionRefreshMinutes</span></code></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobDurationMillis">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastSessionsCollectionJobDurationMillis</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobDurationMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The length in milliseconds of the last refresh.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobTimestamp">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastSessionsCollectionJobTimestamp</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobTimestamp" title="Permalink to this definition">¶</a></dt>
<dd><p>The time at which the last refresh occurred.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobEntriesRefreshed">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastSessionsCollectionJobEntriesRefreshed</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobEntriesRefreshed" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of sessions that were refreshed during the last refresh.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobEntriesEnded">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastSessionsCollectionJobEntriesEnded</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobEntriesEnded" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of sessions that ended during the last refresh.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobCursorsClosed">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastSessionsCollectionJobCursorsClosed</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastSessionsCollectionJobCursorsClosed" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of cursors that were closed during the last
<a class="reference internal" href="../config-database.html#config.system.sessions" title="config.system.sessions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.system.sessions</span></code></a> collection refresh.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.transactionReaperJobCount">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">transactionReaperJobCount</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.transactionReaperJobCount" title="Permalink to this definition">¶</a></dt>
<dd><p>The number that tracks the number of times the transaction record
cleanup process has run on the <a class="reference internal" href="../config-database.html#config.transactions" title="config.transactions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.transactions</span></code></a>
collection.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastTransactionReaperJobDurationMillis">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastTransactionReaperJobDurationMillis</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastTransactionReaperJobDurationMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The length (in milleseconds) of the last transaction record cleanup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastTransactionReaperJobTimestamp">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastTransactionReaperJobTimestamp</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastTransactionReaperJobTimestamp" title="Permalink to this definition">¶</a></dt>
<dd><p>The time of the last transaction record cleanup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.lastTransactionReaperJobEntriesCleanedUp">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">lastTransactionReaperJobEntriesCleanedUp</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.lastTransactionReaperJobEntriesCleanedUp" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of entries in the <a class="reference internal" href="../config-database.html#config.transactions" title="config.transactions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.transactions</span></code></a> collection
that were deleted during the last transaction record cleanup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.logicalSessionRecordCache.sessionCatalogSize">
<code class="descclassname">logicalSessionRecordCache.</code><code class="descname">sessionCatalogSize</code><a class="headerlink" href="#serverstatus.logicalSessionRecordCache.sessionCatalogSize" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li><dl class="first docutils">
<dt>For a <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance,</dt>
<dd>The size of its in-memory cache of the <cite>config.transactions</cite>
entries. This corresponds to retryable writes
or transactions whose sessions have not expired within the
<a class="reference internal" href="../parameters.html#param.localLogicalSessionTimeoutMinutes" title="localLogicalSessionTimeoutMinutes"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">localLogicalSessionTimeoutMinutes</span></code></a>.</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>For a <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance,</dt>
<dd>The number of the in-memory cache of its sessions that have had
transactions within the most recent
<a class="reference internal" href="../parameters.html#param.localLogicalSessionTimeoutMinutes" title="localLogicalSessionTimeoutMinutes"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">localLogicalSessionTimeoutMinutes</span></code></a> interval.</dd>
</dl>
</li>
</ul>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

</div>
<div class="section" id="server-status-locks">
<span id="locks"></span><span id="id3"></span><h3>locks<a class="headerlink" href="#server-status-locks" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;locks&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="o">&lt;</span><span class="nx">type</span><span class="o">&gt;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;acquireCount&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="o">&lt;</span><span class="nx">mode</span><span class="o">&gt;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="p">...</span>
         <span class="p">},</span>
         <span class="s2">&quot;acquireWaitCount&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="o">&lt;</span><span class="nx">mode</span><span class="o">&gt;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="p">...</span>
         <span class="p">},</span>
         <span class="s2">&quot;timeAcquiringMicros&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="o">&lt;</span><span class="nx">mode</span><span class="o">&gt;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="p">...</span>
         <span class="p">},</span>
         <span class="s2">&quot;deadlockCount&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="o">&lt;</span><span class="nx">mode</span><span class="o">&gt;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="p">...</span>
         <span class="p">}</span>
   <span class="p">},</span>
   <span class="p">...</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.locks">
<code class="descname">locks</code><a class="headerlink" href="#serverstatus.locks" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports for each lock <code class="docutils literal"><span class="pre">&lt;type&gt;</span></code>, data on lock
<code class="docutils literal"><span class="pre">&lt;modes&gt;</span></code>.</p>
<p>The possible lock <code class="docutils literal"><span class="pre">&lt;types&gt;</span></code> are:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Lock Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ParallelBatchWriterMode</span></code></td>
<td><p class="first">Represents a lock for parallel batch writer mode.</p>
<p>In earlier versions, PBWM information was reported as part of
the <code class="docutils literal"><span class="pre">Global</span></code> lock information.</p>
<div class="last versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">ReplicationStateTransition</span></code></td>
<td><p class="first">Represents lock taken for <a class="reference internal" href="../replica-states.html"><span class="doc">replica set member state</span></a> transitions.</p>
<div class="last versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Global</span></code></td>
<td>Represents global lock.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Database</span></code></td>
<td>Represents database lock.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Collection</span></code></td>
<td>Represents collection lock.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Mutex</span></code></td>
<td>Represents mutex.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Metadata</span></code></td>
<td>Represents metadata lock.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oplog</span></code></td>
<td>Represents lock on the <a class="reference internal" href="../glossary.html#term-oplog"><span class="xref std std-term">oplog</span></a>.</td>
</tr>
</tbody>
</table>
<p>The possible <code class="docutils literal"><span class="pre">&lt;modes&gt;</span></code> are:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Lock Mode</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">R</span></code></td>
<td>Represents Shared (S) lock.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">W</span></code></td>
<td>Represents Exclusive (X) lock.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">r</span></code></td>
<td>Represents Intent Shared (IS) lock.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">w</span></code></td>
<td>Represents Intent Exclusive (IX) lock.</td>
</tr>
</tbody>
</table>
<p>All values are of the <code class="docutils literal"><span class="pre">NumberLong()</span></code> type.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.locks.&lt;type&gt;.acquireCount">
<code class="descclassname">locks.&lt;type&gt;.</code><code class="descname">acquireCount</code><a class="headerlink" href="#serverstatus.locks.<type>.acquireCount" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the lock was acquired in the specified mode.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.locks.&lt;type&gt;.acquireWaitCount">
<code class="descclassname">locks.&lt;type&gt;.</code><code class="descname">acquireWaitCount</code><a class="headerlink" href="#serverstatus.locks.<type>.acquireWaitCount" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the <code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">locks.acquireCount</span></code> lock
acquisitions encountered waits because the locks were held in a
conflicting mode.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.locks.&lt;type&gt;.timeAcquiringMicros">
<code class="descclassname">locks.&lt;type&gt;.</code><code class="descname">timeAcquiringMicros</code><a class="headerlink" href="#serverstatus.locks.<type>.timeAcquiringMicros" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative wait time in microseconds for the lock acquisitions.</p>
<p><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">locks.timeAcquiringMicros</span></code> divided by
<code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">locks.acquireWaitCount</span></code> gives an
approximate average wait time for the particular lock mode.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.locks.&lt;type&gt;.deadlockCount">
<code class="descclassname">locks.&lt;type&gt;.</code><code class="descname">deadlockCount</code><a class="headerlink" href="#serverstatus.locks.<type>.deadlockCount" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of times the lock acquisitions encountered deadlocks.</p>
</dd></dl>

</div>
<div class="section" id="network">
<span id="server-status-network"></span><h3>network<a class="headerlink" href="#network" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;network&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;bytesIn&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;bytesOut&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;numRequests&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.network">
<code class="descname">network</code><a class="headerlink" href="#serverstatus.network" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports data on MongoDB’s network use.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.network.bytesIn">
<code class="descclassname">network.</code><code class="descname">bytesIn</code><a class="headerlink" href="#serverstatus.network.bytesIn" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of bytes that reflects the amount of network traffic
received <em>by</em> this database. Use this value to ensure that network
traffic sent to the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process is consistent with
expectations and overall inter-application traffic.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.network.bytesOut">
<code class="descclassname">network.</code><code class="descname">bytesOut</code><a class="headerlink" href="#serverstatus.network.bytesOut" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of bytes that reflects the amount of network traffic sent
<em>from</em> this database. Use this value to ensure that network traffic
sent by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process is consistent with
expectations and overall inter-application traffic.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.network.numRequests">
<code class="descclassname">network.</code><code class="descname">numRequests</code><a class="headerlink" href="#serverstatus.network.numRequests" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of distinct requests that the server has received.
Use this value to provide context for the
<a class="reference internal" href="#serverstatus.network.bytesIn" title="network.bytesIn"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">network.bytesIn</span></code></a> and <a class="reference internal" href="#serverstatus.network.bytesOut" title="network.bytesOut"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">network.bytesOut</span></code></a>
values to ensure that MongoDB’s network utilization is consistent
with expectations and application use.</p>
</dd></dl>

</div>
<div class="section" id="oplatencies">
<h3>opLatencies<a class="headerlink" href="#oplatencies" title="Permalink to this headline">¶</a></h3>
<p><em>Only for ``mongod`` instances</em></p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;opLatencies&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;reads&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">document</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;writes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">document</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;commands&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">document</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.opLatencies">
<code class="descname">opLatencies</code><a class="headerlink" href="#serverstatus.opLatencies" title="Permalink to this definition">¶</a></dt>
<dd><p>A document containing operation latencies for the database as a whole.
See <a class="reference internal" href="../operator/aggregation/collStats.html#latency-stats-document"><span class="std std-ref">latencyStats Document</span></a> for an description of this document.</p>
<p>Only <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instances report
<a class="reference internal" href="#serverstatus.opLatencies" title="opLatencies"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opLatencies</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opLatencies.reads">
<code class="descclassname">opLatencies.</code><code class="descname">reads</code><a class="headerlink" href="#serverstatus.opLatencies.reads" title="Permalink to this definition">¶</a></dt>
<dd><p>Latency statistics for read requests.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opLatencies.writes">
<code class="descclassname">opLatencies.</code><code class="descname">writes</code><a class="headerlink" href="#serverstatus.opLatencies.writes" title="Permalink to this definition">¶</a></dt>
<dd><p>Latency statistics for write operations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opLatencies.commands">
<code class="descclassname">opLatencies.</code><code class="descname">commands</code><a class="headerlink" href="#serverstatus.opLatencies.commands" title="Permalink to this definition">¶</a></dt>
<dd><p>Latency statistics for database commands.</p>
</dd></dl>

</div>
<div class="section" id="opreadconcerncounters">
<span id="server-status-opreadconcerncounters"></span><h3>opReadConcernCounters<a class="headerlink" href="#opreadconcerncounters" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p><em>Only for mongod instances</em></p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;opReadConcernCounters&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;available&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;linearizable&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;local&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;majority&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;snapshot&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;none&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.opReadConcernCounters">
<code class="descname">opReadConcernCounters</code><a class="headerlink" href="#serverstatus.opReadConcernCounters" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p>A document that reports on the <a class="reference internal" href="../read-concern.html#read-concern-levels"><span class="std std-ref">read concern level</span></a> specified by query operations to the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance since it last started.</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Specified <code class="docutils literal"><span class="pre">w</span></code></th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;available&quot;</span></code></td>
<td>Number of query operations that specified read concern level
<a class="reference internal" href="../read-concern-available.html#readconcern.&quot;available&quot;" title="&quot;available&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;available&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;linearizable&quot;</span></code></td>
<td>Number of query operations that specified read concern level
<a class="reference internal" href="../read-concern-linearizable.html#readconcern.&quot;linearizable&quot;" title="&quot;linearizable&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;linearizable&quot;</span></code></a>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;local&quot;</span></code></td>
<td>Number of query operations that specified read
concern level <a class="reference internal" href="../read-concern-local.html#readconcern.&quot;local&quot;" title="&quot;local&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;local&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;majority&quot;</span></code></td>
<td>Number of query operations that specified read
concern level <a class="reference internal" href="../read-concern-majority.html#readconcern.&quot;majority&quot;" title="&quot;majority&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;majority&quot;</span></code></a>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;snapshot&quot;</span></code></td>
<td>Number of query operations that specified read
concern level <a class="reference internal" href="../read-concern-snapshot.html#readconcern.&quot;snapshot&quot;" title="&quot;snapshot&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;snapshot&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;none&quot;</span></code></td>
<td>Number of query operations that did not specify a read
concern level and instead used the default <a class="reference internal" href="../read-concern.html#read-concern-levels"><span class="std std-ref">read concern level</span></a>.</td>
</tr>
</tbody>
</table>
<p>The sum of the <a class="reference internal" href="#serverstatus.opReadConcernCounters" title="opReadConcernCounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opReadConcernCounters</span></code></a> equals
<a class="reference internal" href="#serverstatus.opcounters.query" title="opcounters.query"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters.query</span></code></a>.</p>
</dd></dl>

</div>
<div class="section" id="opwriteconcerncounters">
<span id="server-status-opwriteconcerncounters"></span><h3>opWriteConcernCounters<a class="headerlink" href="#opwriteconcerncounters" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p><em>Only for mongod instances</em></p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;opWriteConcernCounters&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;insert&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">...</span>
      <span class="p">},</span>
      <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">...</span>
      <span class="p">},</span>
      <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;update&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">},</span>
      <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">...</span>
      <span class="p">},</span>
      <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;delete&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
      <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">...</span>
      <span class="p">},</span>
      <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">...</span>
      <span class="p">},</span>
      <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.opWriteConcernCounters">
<code class="descname">opWriteConcernCounters</code><a class="headerlink" href="#serverstatus.opWriteConcernCounters" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the <a class="reference internal" href="../write-concern.html"><span class="doc">write concerns</span></a> specified by write operations to the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance since it last started.</p>
<p>More specifically, the <a class="reference internal" href="#serverstatus.opWriteConcernCounters" title="opWriteConcernCounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opWriteConcernCounters</span></code></a>
reports on the <a class="reference internal" href="../write-concern.html#wc-w"><span class="std std-ref">w: &lt;value&gt;</span></a> specified by the write
operations. The journal flag option (<code class="docutils literal"><span class="pre">j</span></code>) and the timeout option
(<code class="docutils literal"><span class="pre">wtimeout</span></code>) of the write concerns does not affect the count. The
count is incremented even if the operation times out.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Only available when
<a class="reference internal" href="../parameters.html#param.reportOpWriteConcernCountersInServerStatus" title="reportOpWriteConcernCountersInServerStatus"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">reportOpWriteConcernCountersInServerStatus</span></code></a> parameter is
set to <code class="docutils literal"><span class="pre">true</span></code> (<code class="docutils literal"><span class="pre">false</span></code> by default).</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opWriteConcernCounters.insert">
<code class="descclassname">opWriteConcernCounters.</code><code class="descname">insert</code><a class="headerlink" href="#serverstatus.opWriteConcernCounters.insert" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p>A document that reports on the <a class="reference internal" href="../write-concern.html#wc-w"><span class="std std-ref">w: &lt;value&gt;</span></a> specified
by insert operations to the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance since it
last started:</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Only available when
<a class="reference internal" href="../parameters.html#param.reportOpWriteConcernCountersInServerStatus" title="reportOpWriteConcernCountersInServerStatus"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">reportOpWriteConcernCountersInServerStatus</span></code></a> parameter is
set to <code class="docutils literal"><span class="pre">true</span></code> (<code class="docutils literal"><span class="pre">false</span></code> by default).</p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;insert&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">...</span>
   <span class="p">},</span>
   <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">...</span>
   <span class="p">},</span>
   <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">&#160;</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wmajority&quot;</span></code></td>
<td>Number of insert operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&quot;majority&quot;" title="&quot;majority&quot;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&quot;majority&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;wnum&quot;</span></code></td>
<td>Number of insert operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&lt;number&gt;" title="&lt;number&gt;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;num&gt;</span></code></a>. The counts are grouped by the specific
<code class="docutils literal"><span class="pre">&lt;num&gt;</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wtag&quot;</span></code></td>
<td>Number of insert operations that specified <code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;tag&gt;</span></code>. The counts are grouped by the
specific <code class="docutils literal"><span class="pre">&lt;tag&gt;</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;none&quot;</span></code></td>
<td>Number of insert operations that did not specify <code class="docutils literal"><span class="pre">w</span></code> value.
These operations use the default <code class="docutils literal"><span class="pre">w</span></code> value of <code class="docutils literal"><span class="pre">1</span></code>.</td>
</tr>
</tbody>
</table>
<p>The sum of the <a class="reference internal" href="#serverstatus.opWriteConcernCounters.insert" title="opWriteConcernCounters.insert"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opWriteConcernCounters.insert</span></code></a> equals
<a class="reference internal" href="#serverstatus.opcounters.insert" title="opcounters.insert"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters.insert</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opWriteConcernCounters.update">
<code class="descclassname">opWriteConcernCounters.</code><code class="descname">update</code><a class="headerlink" href="#serverstatus.opWriteConcernCounters.update" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p>A document that reports on the <a class="reference internal" href="../write-concern.html#wc-w"><span class="std std-ref">w: &lt;value&gt;</span></a> specified
by update operations to the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance since it
last started:</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Only available when
<a class="reference internal" href="../parameters.html#param.reportOpWriteConcernCountersInServerStatus" title="reportOpWriteConcernCountersInServerStatus"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">reportOpWriteConcernCountersInServerStatus</span></code></a> parameter is
set to <code class="docutils literal"><span class="pre">true</span></code> (<code class="docutils literal"><span class="pre">false</span></code> by default).</p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;update&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="p">},</span>
   <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">...</span>
   <span class="p">},</span>
   <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">&#160;</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wmajority&quot;</span></code></td>
<td>Number of update operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&quot;majority&quot;" title="&quot;majority&quot;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&quot;majority&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;wnum&quot;</span></code></td>
<td>Number of update operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&lt;number&gt;" title="&lt;number&gt;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;num&gt;</span></code></a>. The counts are grouped by the
specific <code class="docutils literal"><span class="pre">&lt;num&gt;</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wtag&quot;</span></code></td>
<td>Number of update operations that specified <code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;tag&gt;</span></code>. The counts are grouped by the specific
<code class="docutils literal"><span class="pre">&lt;tag&gt;</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;none&quot;</span></code></td>
<td>Number of update operations that did not specify <code class="docutils literal"><span class="pre">w</span></code> value.
These operations use the default <code class="docutils literal"><span class="pre">w</span></code> value of <code class="docutils literal"><span class="pre">1</span></code>.</td>
</tr>
</tbody>
</table>
<p>The sum of the <a class="reference internal" href="#serverstatus.opWriteConcernCounters.update" title="opWriteConcernCounters.update"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opWriteConcernCounters.update</span></code></a> equals
<a class="reference internal" href="#serverstatus.opcounters.update" title="opcounters.update"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters.update</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opWriteConcernCounters.delete">
<code class="descclassname">opWriteConcernCounters.</code><code class="descname">delete</code><a class="headerlink" href="#serverstatus.opWriteConcernCounters.delete" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6.</span></p>
</div>
<p>A document that reports on the <a class="reference internal" href="../write-concern.html#wc-w"><span class="std std-ref">w: &lt;value&gt;</span></a> specified
by delete operations to the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance since it
last started:</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Only available when
<a class="reference internal" href="../parameters.html#param.reportOpWriteConcernCountersInServerStatus" title="reportOpWriteConcernCountersInServerStatus"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">reportOpWriteConcernCountersInServerStatus</span></code></a> parameter is
set to <code class="docutils literal"><span class="pre">true</span></code> (<code class="docutils literal"><span class="pre">false</span></code> by default).</p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;delete&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;wmajority&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="s2">&quot;wnum&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;num&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">...</span>
   <span class="p">},</span>
   <span class="s2">&quot;wtag&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;&lt;tag1&gt;&quot;</span> <span class="o">:</span>  <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="p">...</span>
   <span class="p">},</span>
   <span class="s2">&quot;none&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">&#160;</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wmajority&quot;</span></code></td>
<td>Number of delete operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&quot;majority&quot;" title="&quot;majority&quot;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&quot;majority&quot;</span></code></a>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;wnum&quot;</span></code></td>
<td>Number of delete operations that specified <a class="reference internal" href="../write-concern.html#writeconcern.&lt;number&gt;" title="&lt;number&gt;"><code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;num&gt;</span></code></a>. The counts are grouped by the specific
<code class="docutils literal"><span class="pre">&lt;num&gt;</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;wtag&quot;</span></code></td>
<td>Number of delete operations that specified <code class="xref mongodb mongodb-writeconcern docutils literal"><span class="pre">w:</span>
<span class="pre">&lt;tag&gt;</span></code>. The counts are grouped by the
specific <code class="docutils literal"><span class="pre">&lt;tag&gt;</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;none&quot;</span></code></td>
<td>Number of delete operations that did not specify <code class="docutils literal"><span class="pre">w</span></code> value.
These operations use the default <code class="docutils literal"><span class="pre">w</span></code> value of <code class="docutils literal"><span class="pre">1</span></code>.</td>
</tr>
</tbody>
</table>
<p>The sum of the <a class="reference internal" href="#serverstatus.opWriteConcernCounters.delete" title="opWriteConcernCounters.delete"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opWriteConcernCounters.delete</span></code></a> equals
<a class="reference internal" href="#serverstatus.opcounters.delete" title="opcounters.delete"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters.delete</span></code></a>.</p>
</dd></dl>

</div>
<div class="section" id="opcounters">
<span id="server-status-opcounters"></span><h3>opcounters<a class="headerlink" href="#opcounters" title="Permalink to this headline">¶</a></h3>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;opcounters&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;insert&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;query&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>   <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;update&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;delete&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;getmore&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span> <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;command&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span> <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.opcounters">
<code class="descname">opcounters</code><a class="headerlink" href="#serverstatus.opcounters" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on database operations by type since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>These numbers will grow over time until next restart. Analyze these
values over time to track database utilization.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>The data in <a class="reference internal" href="#serverstatus.opcounters" title="opcounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters</span></code></a> treats operations
that affect multiple documents, such as bulk insert or
multi-update operations, as a single operation. See
<a class="reference internal" href="#serverstatus.metrics.document" title="metrics.document"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.document</span></code></a> for more granular
document-level operation tracking.</p>
<p class="last">Additionally, these values reflect received operations, and
increment even when operations are not successful.</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.insert">
<code class="descclassname">opcounters.</code><code class="descname">insert</code><a class="headerlink" href="#serverstatus.opcounters.insert" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of insert operations received since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.query">
<code class="descclassname">opcounters.</code><code class="descname">query</code><a class="headerlink" href="#serverstatus.opcounters.query" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of queries received since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.update">
<code class="descclassname">opcounters.</code><code class="descname">update</code><a class="headerlink" href="#serverstatus.opcounters.update" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of update operations received since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.delete">
<code class="descclassname">opcounters.</code><code class="descname">delete</code><a class="headerlink" href="#serverstatus.opcounters.delete" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of delete operations since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.getmore">
<code class="descclassname">opcounters.</code><code class="descname">getmore</code><a class="headerlink" href="#serverstatus.opcounters.getmore" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of “getmore” operations since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance last started. This counter can be high even if the query
count is low. Secondary nodes send <code class="docutils literal"><span class="pre">getMore</span></code> operations as part of
the replication process.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcounters.command">
<code class="descclassname">opcounters.</code><code class="descname">command</code><a class="headerlink" href="#serverstatus.opcounters.command" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of commands issued to the database since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p><a class="reference internal" href="#serverstatus.opcounters.command" title="opcounters.command"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters.command</span></code></a> counts all <a class="reference internal" href="../command.html"><span class="doc">commands</span></a> <strong>except</strong> the write commands:
<a class="reference internal" href="insert.html#dbcmd.insert" title="insert"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">insert</span></code></a>, <a class="reference internal" href="update.html#dbcmd.update" title="update"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">update</span></code></a>, and <a class="reference internal" href="delete.html#dbcmd.delete" title="delete"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">delete</span></code></a>.</p>
<p>Starting in MongoDB 4.2, the returned opcounters.* values are
type NumberLong. In previous versions, the values are of type NumberInt.</p>
</dd></dl>

</div>
<div class="section" id="opcountersrepl">
<span id="server-status-opcounters-repl"></span><span id="server-status-opcountersrepl"></span><h3>opcountersRepl<a class="headerlink" href="#opcountersrepl" title="Permalink to this headline">¶</a></h3>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;opcountersRepl&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;insert&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;query&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>   <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;update&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;delete&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>  <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;getmore&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span> <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
   <span class="s2">&quot;command&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span> <span class="c1">// Starting in MongoDB 4.2, type is NumberLong</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl">
<code class="descname">opcountersRepl</code><a class="headerlink" href="#serverstatus.opcountersRepl" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on database replication operations by type
since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>These values only appear when the current host is a member of a
replica set.</p>
<p>These values will differ from the <a class="reference internal" href="#serverstatus.opcounters" title="opcounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters</span></code></a> values
because of how MongoDB serializes operations during replication.
See <a class="reference internal" href="../../replication.html"><span class="doc">Replication</span></a> for more information on replication.</p>
<p>These numbers will grow over time in response to database use until
next restart. Analyze these values over time to track database
utilization.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.insert">
<code class="descclassname">opcountersRepl.</code><code class="descname">insert</code><a class="headerlink" href="#serverstatus.opcountersRepl.insert" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of replicated insert operations since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.query">
<code class="descclassname">opcountersRepl.</code><code class="descname">query</code><a class="headerlink" href="#serverstatus.opcountersRepl.query" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of replicated queries since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.update">
<code class="descclassname">opcountersRepl.</code><code class="descname">update</code><a class="headerlink" href="#serverstatus.opcountersRepl.update" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of replicated update operations since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.delete">
<code class="descclassname">opcountersRepl.</code><code class="descname">delete</code><a class="headerlink" href="#serverstatus.opcountersRepl.delete" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of replicated delete operations since the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.getmore">
<code class="descclassname">opcountersRepl.</code><code class="descname">getmore</code><a class="headerlink" href="#serverstatus.opcountersRepl.getmore" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of “getmore” operations since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
instance last started. This counter can be high even if the query
count is low. Secondary nodes send <code class="docutils literal"><span class="pre">getMore</span></code> operations as part of
the replication process.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.opcountersRepl.command">
<code class="descclassname">opcountersRepl.</code><code class="descname">command</code><a class="headerlink" href="#serverstatus.opcountersRepl.command" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of replicated commands issued to the database since
the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance last started.</p>
<p>Starting in MongoDB 4.2, the returned opcountersRepl.* values are
type NumberLong. In previous versions, the values are type NumberInt.</p>
</dd></dl>

</div>
<div class="section" id="oplogtruncation">
<span id="server-status-oplogtruncation"></span><h3>oplogTruncation<a class="headerlink" href="#oplogtruncation" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;oplogTruncation&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;totalTimeProcessingMicros&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;processingMethod&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalTimeTruncatingMicros&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;truncateCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.oplogTruncation">
<code class="descname">oplogTruncation</code><a class="headerlink" href="#serverstatus.oplogTruncation" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.1: </span>For WiredTiger storage engine</p>
</div>
<p>A document that reports on <a class="reference internal" href="../../core/replica-set-oplog.html"><span class="doc">oplog</span></a>
truncations.</p>
<p>The field only appears when the current instance is a member of a
replica set and uses <a class="reference internal" href="../../core/wiredtiger.html"><span class="doc">WiredTiger Storage Engine</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.oplogTruncation.totalTimeProcessingMicros">
<code class="descclassname">oplogTruncation.</code><code class="descname">totalTimeProcessingMicros</code><a class="headerlink" href="#serverstatus.oplogTruncation.totalTimeProcessingMicros" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.1.</span></p>
</div>
<p>The total time taken, in microseconds, to scan or sample the oplog
to determine the oplog truncation points.</p>
<p>See <a class="reference internal" href="#serverstatus.oplogTruncation.processingMethod" title="oplogTruncation.processingMethod"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">oplogTruncation.processingMethod</span></code></a></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.oplogTruncation.processingMethod">
<code class="descclassname">oplogTruncation.</code><code class="descname">processingMethod</code><a class="headerlink" href="#serverstatus.oplogTruncation.processingMethod" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.1.</span></p>
</div>
<p>The method used at start up to determine the oplog truncation points.
The value can be either <code class="docutils literal"><span class="pre">&quot;sampling&quot;</span></code> or <code class="docutils literal"><span class="pre">&quot;scanning&quot;</span></code>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.oplogTruncation.totalTimeTruncatingMicros">
<code class="descclassname">oplogTruncation.</code><code class="descname">totalTimeTruncatingMicros</code><a class="headerlink" href="#serverstatus.oplogTruncation.totalTimeTruncatingMicros" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.1.</span></p>
</div>
<p>The cumulative time spent, in microseconds, performing oplog truncations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.oplogTruncation.truncateCount">
<code class="descclassname">oplogTruncation.</code><code class="descname">truncateCount</code><a class="headerlink" href="#serverstatus.oplogTruncation.truncateCount" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.1.</span></p>
</div>
<p>The cumulative number of oplog truncations.</p>
</dd></dl>

</div>
<div class="section" id="repl">
<span id="server-status-repl"></span><h3>repl<a class="headerlink" href="#repl" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;repl&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;hosts&quot;</span> <span class="o">:</span> <span class="p">[</span>
         <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span>
   <span class="p">],</span>
   <span class="s2">&quot;setName&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;setVersion&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;ismaster&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;secondary&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;primary&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">hostname</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;me&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">hostname</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;electionId&quot;</span> <span class="o">:</span> <span class="nx">ObjectId</span><span class="p">(</span><span class="s2">&quot;&quot;</span><span class="p">),</span>
   <span class="s2">&quot;rbid&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;replicationProgress&quot;</span> <span class="o">:</span> <span class="p">[</span>
         <span class="p">{</span>
            <span class="s2">&quot;rid&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">ObjectId</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;optime&quot;</span> <span class="o">:</span> <span class="p">{</span> <span class="nx">ts</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">timestamp</span><span class="o">&gt;</span><span class="p">,</span> <span class="nx">term</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span> <span class="p">},</span>
            <span class="s2">&quot;host&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">hostname</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;memberId&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
        <span class="p">...</span>
   <span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.repl">
<code class="descname">repl</code><a class="headerlink" href="#serverstatus.repl" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the replica set configuration.
<a class="reference internal" href="#serverstatus.repl" title="repl"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">repl</span></code></a> only appear when the current host is a replica
set. See <a class="reference internal" href="../../replication.html"><span class="doc">Replication</span></a> for more information on replication.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.hosts">
<code class="descclassname">repl.</code><code class="descname">hosts</code><a class="headerlink" href="#serverstatus.repl.hosts" title="Permalink to this definition">¶</a></dt>
<dd><p>An array of the current replica set members’ hostname and port
information (<code class="docutils literal"><span class="pre">&quot;host:port&quot;</span></code>).</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.setName">
<code class="descclassname">repl.</code><code class="descname">setName</code><a class="headerlink" href="#serverstatus.repl.setName" title="Permalink to this definition">¶</a></dt>
<dd><p>A string with the name of the current replica set. This value
reflects the <a class="reference internal" href="../program/mongod.html#cmdoption-mongod-replset"><code class="xref std std-option docutils literal"><span class="pre">--replSet</span></code></a> command line
argument, or <a class="reference internal" href="../configuration-options.html#replication.replSetName" title="replication.replSetName"><code class="xref mongodb mongodb-setting docutils literal"><span class="pre">replSetName</span></code></a> value in the
configuration file.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.ismaster">
<code class="descclassname">repl.</code><code class="descname">ismaster</code><a class="headerlink" href="#serverstatus.repl.ismaster" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that indicates whether the current node is the
<a class="reference internal" href="../glossary.html#term-primary"><span class="xref std std-term">primary</span></a> of the replica set.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.secondary">
<code class="descclassname">repl.</code><code class="descname">secondary</code><a class="headerlink" href="#serverstatus.repl.secondary" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that indicates whether the current node is a
<a class="reference internal" href="../glossary.html#term-secondary"><span class="xref std std-term">secondary</span></a> member of the replica set.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.primary">
<code class="descclassname">repl.</code><code class="descname">primary</code><a class="headerlink" href="#serverstatus.repl.primary" title="Permalink to this definition">¶</a></dt>
<dd><p>The hostname and port information (<code class="docutils literal"><span class="pre">&quot;host:port&quot;</span></code>) of the current
<a class="reference internal" href="../glossary.html#term-primary"><span class="xref std std-term">primary</span></a> member of the replica set.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.me">
<code class="descclassname">repl.</code><code class="descname">me</code><a class="headerlink" href="#serverstatus.repl.me" title="Permalink to this definition">¶</a></dt>
<dd><p>The hostname and port information (<code class="docutils literal"><span class="pre">&quot;host:port&quot;</span></code>) for the current
member of the replica set.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.rbid">
<code class="descclassname">repl.</code><code class="descname">rbid</code><a class="headerlink" href="#serverstatus.repl.rbid" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="../glossary.html#term-rollback"><span class="xref std std-term">Rollback</span></a> identifier. Used to determine if a rollback has
happened for this <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.replicationProgress">
<code class="descclassname">repl.</code><code class="descname">replicationProgress</code><a class="headerlink" href="#serverstatus.repl.replicationProgress" title="Permalink to this definition">¶</a></dt>
<dd><p>An array with one document for each member of the replica set that
reports replication process to this member. Typically this is the
primary, or secondaries if using chained replication.</p>
<p>To include this output, you must pass the <code class="docutils literal"><span class="pre">repl</span></code> option to the
<a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a>, as in the following:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="nx">db</span><span class="p">.</span><span class="nx">serverStatus</span><span class="p">({</span> <span class="s2">&quot;repl&quot;</span><span class="o">:</span> <span class="mi">1</span> <span class="p">})</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">runCommand</span><span class="p">({</span> <span class="s2">&quot;serverStatus&quot;</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span> <span class="s2">&quot;repl&quot;</span><span class="o">:</span> <span class="mi">1</span> <span class="p">})</span>
</pre></div>
</div>
</div>
<p>The content of the <a class="reference internal" href="#serverstatus.repl.replicationProgress" title="repl.replicationProgress"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">repl.replicationProgress</span></code></a> section
depends on the source of each member’s replication. This section
supports internal operation and is for internal and diagnostic use only.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.replicationProgress[n].rid">
<code class="descclassname">repl.replicationProgress[n].</code><code class="descname">rid</code><a class="headerlink" href="#serverstatus.repl.replicationProgress[n].rid" title="Permalink to this definition">¶</a></dt>
<dd><p>An ObjectId used as an ID for the members of the replica
set. For internal use only.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.replicationProgress[n].optime">
<code class="descclassname">repl.replicationProgress[n].</code><code class="descname">optime</code><a class="headerlink" href="#serverstatus.repl.replicationProgress[n].optime" title="Permalink to this definition">¶</a></dt>
<dd><p>Information regarding the last operation from the <a class="reference internal" href="../glossary.html#term-oplog"><span class="xref std std-term">oplog</span></a> that
the member applied, as reported from this member.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.replicationProgress[n].host">
<code class="descclassname">repl.replicationProgress[n].</code><code class="descname">host</code><a class="headerlink" href="#serverstatus.repl.replicationProgress[n].host" title="Permalink to this definition">¶</a></dt>
<dd><p>The name of the host in <code class="docutils literal"><span class="pre">[hostname]:[port]</span></code> format for the member
of the replica set.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.repl.replicationProgress[n].memberID">
<code class="descclassname">repl.replicationProgress[n].</code><code class="descname">memberID</code><a class="headerlink" href="#serverstatus.repl.replicationProgress[n].memberID" title="Permalink to this definition">¶</a></dt>
<dd><p>The integer identifier for this member of the replica set.</p>
</dd></dl>

</div>
<div class="section" id="security">
<span id="server-status-security"></span><h3>security<a class="headerlink" href="#security" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;security&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;SSLServerSubjectName&quot;</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;SSLServerHasCertificateAuthority&quot;</span><span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;SSLServerCertificateExpirationDate&quot;</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">date</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.security">
<code class="descname">security</code><a class="headerlink" href="#serverstatus.security" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on security configuration and details;
specifically, this section reports on the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>/<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance’s TLS/SSL
certificate.</p>
<p>The <a class="reference internal" href="#serverstatus.security" title="security"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">security</span></code></a> information only appears for
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instances and <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instances
with support for TLS/SSL.</p>
<dl class="serverstatus">
<dt id="serverstatus.security.SSLServerSubjectName">
<code class="descclassname">security.</code><code class="descname">SSLServerSubjectName</code><a class="headerlink" href="#serverstatus.security.SSLServerSubjectName" title="Permalink to this definition">¶</a></dt>
<dd><p>The subject name associated with the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>/<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance’s TLS/SSL
certificate.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.security.SSLServerHasCertificateAuthority">
<code class="descclassname">security.</code><code class="descname">SSLServerHasCertificateAuthority</code><a class="headerlink" href="#serverstatus.security.SSLServerHasCertificateAuthority" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that is:</p>
<ul class="simple">
<li><code class="docutils literal"><span class="pre">true</span></code> when the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>/<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>
instance’s TLS/SSL certificate is associated with a certificate
authority.</li>
<li><code class="docutils literal"><span class="pre">false</span></code> when the TLS/SSL certificate is self-signed.</li>
</ul>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.security.SSLServerCertificateExpirationDate">
<code class="descclassname">security.</code><code class="descname">SSLServerCertificateExpirationDate</code><a class="headerlink" href="#serverstatus.security.SSLServerCertificateExpirationDate" title="Permalink to this definition">¶</a></dt>
<dd><p>The expiration date and time of the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>/<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance’s TLS/SSL
certificate.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="sharding">
<span id="server-status-sharding"></span><h3>sharding<a class="headerlink" href="#sharding" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.2: </span>When run on <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>, the command returns sharding
information.</p>
</div>
<div class="versionchanged">
<p><span class="versionmodified">Changed in version 3.6: </span>Starting in MongoDB 3.6, shard members return sharding information.</p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="p">{</span>
   <span class="s2">&quot;configsvrConnectionString&quot;</span> <span class="o">:</span> <span class="s2">&quot;csRS/cfg1.example.net:27019,cfg2.example.net:27019,cfg2.example.net:27019&quot;</span><span class="p">,</span>
   <span class="s2">&quot;lastSeenConfigServerOpTime&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;ts&quot;</span> <span class="o">:</span> <span class="nx">Timestamp</span><span class="p">(</span><span class="mi">1517462189</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span>
      <span class="s2">&quot;t&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;maxChunkSizeInBytes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">67108864</span><span class="p">)</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.sharding">
<code class="descname">sharding</code><a class="headerlink" href="#serverstatus.sharding" title="Permalink to this definition">¶</a></dt>
<dd><p>A document with data regarding the sharded cluster. The
<a class="reference internal" href="#serverstatus.sharding.lastSeenConfigServerOpTime" title="sharding.lastSeenConfigServerOpTime"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">lastSeenConfigServerOpTime</span></code></a> is present only
for a <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> or a shard member, not for a config
server.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.sharding.configsvrConnectionString">
<code class="descclassname">sharding.</code><code class="descname">configsvrConnectionString</code><a class="headerlink" href="#serverstatus.sharding.configsvrConnectionString" title="Permalink to this definition">¶</a></dt>
<dd><p>The connection string for the config servers.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.sharding.lastSeenConfigServerOpTime">
<code class="descclassname">sharding.</code><code class="descname">lastSeenConfigServerOpTime</code><a class="headerlink" href="#serverstatus.sharding.lastSeenConfigServerOpTime" title="Permalink to this definition">¶</a></dt>
<dd><p>The latest optime of the CSRS primary that the <strong class="program">mongos</strong> or
the shard member has seen. The optime document includes:</p>
<ul class="simple">
<li><code class="docutils literal"><span class="pre">ts</span></code>, the <a class="reference internal" href="../bson-types.html#document-bson-type-timestamp"><span class="std std-ref">Timestamp</span></a> of
the operation.</li>
<li><code class="docutils literal"><span class="pre">t</span></code>, the <a class="reference internal" href="replSetGetStatus.html#replSetGetStatus.term" title="replSetGetStatus.term"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">term</span></code></a> in which the
operation was originally generated on the primary.</li>
</ul>
<p>The <a class="reference internal" href="#serverstatus.sharding.lastSeenConfigServerOpTime" title="sharding.lastSeenConfigServerOpTime"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">lastSeenConfigServerOpTime</span></code></a> is present
only if the sharded cluster uses CSRS.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.sharding.maxChunkSizeInBytes">
<code class="descclassname">sharding.</code><code class="descname">maxChunkSizeInBytes</code><a class="headerlink" href="#serverstatus.sharding.maxChunkSizeInBytes" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 3.6.</span></p>
</div>
<p>The maximum <a class="reference internal" href="../../core/sharding-data-partitioning.html#sharding-chunk-size"><span class="std std-ref">size limit</span></a> for a chunk. If
the chunk size has been updated recently on the config server, the
<a class="reference internal" href="#serverstatus.sharding.maxChunkSizeInBytes" title="sharding.maxChunkSizeInBytes"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">maxChunkSizeInBytes</span></code></a> may not reflect the
most recent value.</p>
</dd></dl>

</div>
<div class="section" id="shardingstatistics">
<span id="server-status-sharding-statistics"></span><h3>shardingStatistics<a class="headerlink" href="#shardingstatistics" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.0.</span></p>
</div>
<div class="tabs" >
  <ul class="tab-strip tab-strip--singleton" role="tablist">
    <li class="tab-strip__element" data-tabid="shard" role="tab" aria-selected="true">Shard</li>
    <li class="tab-strip__element" data-tabid="mongos" role="tab" aria-selected="false">mongos</li>
  </ul>
  <div class="tabs__content" role="tabpanel">
    <div class="tabpanel-shard" data-tabid="shard"><p>When run on a member of a shard:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;shardingStatistics&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;countStaleConfigErrors&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countDonorMoveChunkStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;totalDonorChunkCloneTimeMillis&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;totalCriticalSectionCommitTimeMillis&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;totalCriticalSectionTimeMillis&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countDocsClonedOnRecipient&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countDocsClonedOnDonor&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countRecipientMoveChunkStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countDocsDeletedOnDonor&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;countDonorMoveChunkLockTimeout&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;catalogCache&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;numDatabaseEntries&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numCollectionEntries&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countStaleConfigErrors&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;totalRefreshWaitTimeMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numActiveIncrementalRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countIncrementalRefreshesStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numActiveFullRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countFullRefreshesStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countFailedRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">}</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
</div>
<div class="tabpanel-mongos" data-tabid="mongos"><p>When run on a <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;shardingStatistics&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;catalogCache&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;numDatabaseEntries&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numCollectionEntries&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countStaleConfigErrors&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;totalRefreshWaitTimeMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numActiveIncrementalRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countIncrementalRefreshesStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;numActiveFullRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countFullRefreshesStarted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
      <span class="s2">&quot;countFailedRefreshes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">}</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
    </div>
  </div>
</div><dl class="serverstatus">
<dt id="serverstatus.shardingStatistics">
<code class="descname">shardingStatistics</code><a class="headerlink" href="#serverstatus.shardingStatistics" title="Permalink to this definition">¶</a></dt>
<dd><p>A document which contains metrics on metadata refresh on sharded
clusters.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countStaleConfigErrors">
<code class="descclassname">shardingStatistics.</code><code class="descname">countStaleConfigErrors</code><a class="headerlink" href="#serverstatus.shardingStatistics.countStaleConfigErrors" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of times that threads hit stale config exception.
Since a stale config exception triggers a refresh of the metadata,
this number is roughly proportional to the number of metadata
refreshes.</p>
<p><em>Only present when run on a shard.</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countDonorMoveChunkStarted">
<code class="descclassname">shardingStatistics.</code><code class="descname">countDonorMoveChunkStarted</code><a class="headerlink" href="#serverstatus.shardingStatistics.countDonorMoveChunkStarted" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of times that the <a class="reference internal" href="moveChunk.html#dbcmd.moveChunk" title="moveChunk"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">moveChunk</span></code></a> command
has started on the shard, of which this node is a member, as part of
a <a class="reference internal" href="../../core/sharding-balancer-administration.html#chunk-migration-procedure"><span class="std std-ref">chunk migration process</span></a>. This
increasing number does not consider whether the chunk migrations
succeed or not.</p>
<p><em>Only present when run on a shard.</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.totalDonorChunkCloneTimeMillis">
<code class="descclassname">shardingStatistics.</code><code class="descname">totalDonorChunkCloneTimeMillis</code><a class="headerlink" href="#serverstatus.shardingStatistics.totalDonorChunkCloneTimeMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative time, in milliseconds, taken by the <a class="reference internal" href="../../core/sharding-balancer-administration.html#chunk-migration-procedure"><span class="std std-ref">clone phase
of the chunk migrations</span></a> from this
shard, of which this node is a member. Specifically, for each
migration from this shard, the tracked time starts with the
<a class="reference internal" href="moveChunk.html#dbcmd.moveChunk" title="moveChunk"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">moveChunk</span></code></a> command and ends before the destination shard
enters a catch-up phase to apply changes that occurred during the
<a class="reference internal" href="../../core/sharding-balancer-administration.html#chunk-migration-procedure"><span class="std std-ref">chunk migrations</span></a>.</p>
<p><em>Only present when run on a shard.</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.totalCriticalSectionCommitTimeMillis">
<code class="descclassname">shardingStatistics.</code><code class="descname">totalCriticalSectionCommitTimeMillis</code><a class="headerlink" href="#serverstatus.shardingStatistics.totalCriticalSectionCommitTimeMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative time, in milliseconds, taken by the <a class="reference internal" href="../../core/sharding-balancer-administration.html#chunk-migration-procedure"><span class="std std-ref">update
metadata phase of the chunk migrations</span></a>
from this shard, of which this node is a member. During the update
metadata phase, all operations on the collection are blocked.</p>
<p><em>Only present when run on a shard.</em></p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.totalCriticalSectionTimeMillis">
<code class="descclassname">shardingStatistics.</code><code class="descname">totalCriticalSectionTimeMillis</code><a class="headerlink" href="#serverstatus.shardingStatistics.totalCriticalSectionTimeMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative time, in milliseconds, taken by the <a class="reference internal" href="../../core/sharding-balancer-administration.html#chunk-migration-procedure"><span class="std std-ref">catch-up
phase and the update metadata phase of the chunk migrations</span></a> from this shard, of which this node is
a member.</p>
<p>To calculate the duration of the catch-up phase, subtract
<a class="reference internal" href="#serverstatus.shardingStatistics.totalCriticalSectionCommitTimeMillis" title="shardingStatistics.totalCriticalSectionCommitTimeMillis"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">totalCriticalSectionCommitTimeMillis</span></code></a> from
<a class="reference internal" href="#serverstatus.shardingStatistics.totalCriticalSectionTimeMillis" title="shardingStatistics.totalCriticalSectionTimeMillis"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">totalCriticalSectionTimeMillis</span></code></a></p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-none"><div class="highlight"><pre><span></span>totalCriticalSectionTimeMillis - totalCriticalSectionCommitTimeMillis
</pre></div>
</div>
</div>
<p>Only present when run on a shard.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countDocsClonedOnRecipient">
<code class="descclassname">shardingStatistics.</code><code class="descname">countDocsClonedOnRecipient</code><a class="headerlink" href="#serverstatus.shardingStatistics.countDocsClonedOnRecipient" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative, always-increasing count of documents that have been
cloned on this member where it acted as the primary of the recipient
shard.</p>
<p>Only present when run on a shard.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countDocsClonedOnDonor">
<code class="descclassname">shardingStatistics.</code><code class="descname">countDocsClonedOnDonor</code><a class="headerlink" href="#serverstatus.shardingStatistics.countDocsClonedOnDonor" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative, always-increasing count of documents that haves been
cloned on this member where it acted as the primary of the donor
shard.</p>
<p>Only present when run on a shard.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countRecipientMoveChunkStarted">
<code class="descclassname">shardingStatistics.</code><code class="descname">countRecipientMoveChunkStarted</code><a class="headerlink" href="#serverstatus.shardingStatistics.countRecipientMoveChunkStarted" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative, always-increasing count of chunks this member, acting as
the primary of the recipient shard, has started to receive (whether
the move has succeeded or not.</p>
<p>Only present when run on a shard.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countDocsDeletedOnDonor">
<code class="descclassname">shardingStatistics.</code><code class="descname">countDocsDeletedOnDonor</code><a class="headerlink" href="#serverstatus.shardingStatistics.countDocsDeletedOnDonor" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative, always-increasing count of documents that have been
deleted on this member during chunk migration where the member acted
as the primary of the donor shard.</p>
<p>Only present when run on a shard.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countDonorMoveChunkLockTimeout">
<code class="descclassname">shardingStatistics.</code><code class="descname">countDonorMoveChunkLockTimeout</code><a class="headerlink" href="#serverstatus.shardingStatistics.countDonorMoveChunkLockTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>Cumulative, always-increasing count of chunk migrations that were
aborted due to lock acquisition timeouts, where the member acted as
the primary of the donor shard.</p>
<p>Only present when run on a shard.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache">
<code class="descclassname">shardingStatistics.</code><code class="descname">catalogCache</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache" title="Permalink to this definition">¶</a></dt>
<dd><p>A document with statistics about the cluster’s routing information cache.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.numDatabaseEntries">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">numDatabaseEntries</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.numDatabaseEntries" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of database entries that are currently in the
catalog cache.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.numCollectionEntries">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">numCollectionEntries</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.numCollectionEntries" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of collection entries (across all databases) that
are currently in the catalog cache.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.countStaleConfigErrors">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">countStaleConfigErrors</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.countStaleConfigErrors" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of times that threads hit stale config exception. A
stale config exception triggers a refresh of the metadata.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.totalRefreshWaitTimeMicros">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">totalRefreshWaitTimeMicros</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.totalRefreshWaitTimeMicros" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative time, in microseconds, that threads had to wait for a
refresh of the metadata.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.numActiveIncrementalRefreshes">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">numActiveIncrementalRefreshes</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.numActiveIncrementalRefreshes" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of incremental catalog cache refreshes that are currently
waiting to complete.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.countIncrementalRefreshesStarted">
<code class="descclassname">shardingStatistics.</code><code class="descname">countIncrementalRefreshesStarted</code><a class="headerlink" href="#serverstatus.shardingStatistics.countIncrementalRefreshesStarted" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative number of incremental refreshes that have started.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.numActiveFullRefreshes">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">numActiveFullRefreshes</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.numActiveFullRefreshes" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of full catalog cache refreshes that are currently
waiting to complete.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.countFullRefreshesStarted">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">countFullRefreshesStarted</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.countFullRefreshesStarted" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative number of full refreshes that have started.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.shardingStatistics.catalogCache.countFailedRefreshes">
<code class="descclassname">shardingStatistics.catalogCache.</code><code class="descname">countFailedRefreshes</code><a class="headerlink" href="#serverstatus.shardingStatistics.catalogCache.countFailedRefreshes" title="Permalink to this definition">¶</a></dt>
<dd><p>The cumulative number of full or incremental refreshes that have failed.</p>
</dd></dl>

</div>
<div class="section" id="storageengine">
<span id="server-status-storage-engine"></span><h3>storageEngine<a class="headerlink" href="#storageengine" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;storageEngine&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;name&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;supportsCommittedReads&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;persistent&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.storageEngine">
<code class="descname">storageEngine</code><a class="headerlink" href="#serverstatus.storageEngine" title="Permalink to this definition">¶</a></dt>
<dd><p>A document with data about the current storage engine.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.storageEngine.name">
<code class="descclassname">storageEngine.</code><code class="descname">name</code><a class="headerlink" href="#serverstatus.storageEngine.name" title="Permalink to this definition">¶</a></dt>
<dd><p>The name of the current storage engine.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.storageEngine.supportsCommittedReads">
<code class="descclassname">storageEngine.</code><code class="descname">supportsCommittedReads</code><a class="headerlink" href="#serverstatus.storageEngine.supportsCommittedReads" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 3.2.</span></p>
</div>
<p>A boolean that indicates whether the storage engine supports
<a class="reference internal" href="../read-concern-majority.html#readconcern.&quot;majority&quot;" title="&quot;majority&quot;"><code class="xref mongodb mongodb-readconcern docutils literal"><span class="pre">&quot;majority&quot;</span></code></a> <a class="reference internal" href="../read-concern.html"><span class="doc">read concern</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.storageEngine.persistent">
<code class="descclassname">storageEngine.</code><code class="descname">persistent</code><a class="headerlink" href="#serverstatus.storageEngine.persistent" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 3.2.6.</span></p>
</div>
<p>A boolean that indicates whether the <a class="reference internal" href="../../core/storage-engines.html"><span class="doc">storage engine</span></a> does or does not persist data to disk.</p>
</dd></dl>

</div>
<div class="section" id="transactions">
<span id="server-status-transactions"></span><h3>transactions<a class="headerlink" href="#transactions" title="Permalink to this headline">¶</a></h3>
<div class="tabs" >
  <ul class="tab-strip tab-strip--singleton" role="tablist">
    <li class="tab-strip__element" data-tabid="mongod" role="tab" aria-selected="true">mongod</li>
    <li class="tab-strip__element" data-tabid="mongos" role="tab" aria-selected="false">mongos</li>
  </ul>
  <div class="tabs__content" role="tabpanel">
    <div class="tabpanel-mongod" data-tabid="mongod"><div class="versionadded">
<p><span class="versionmodified">New in version 3.6.3.</span></p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;transactions&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;retriedCommandsCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;retriedStatementsCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;transactionsCollectionWriteCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;currentActive&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;currentInactive&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;currentOpen&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalAborted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalCommitted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalStarted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalPrepared&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalPreparedThenCommitted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;totalPreparedThenAborted&quot;</span> <span class="o">:</span>  <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;currentPrepared&quot;</span> <span class="o">:</span>  <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;lastCommittedTransaction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nb">document</span><span class="o">&gt;</span> <span class="c1">// Starting in 4.2.2 (and 4.0.9)</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
</div>
<div class="tabpanel-mongos" data-tabid="mongos"><div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span>&quot;transactions&quot; : {
   &quot;currentOpen&quot; : &lt;NumberLong&gt;,     // Starting in 4.2.1
   &quot;currentActive&quot; : &lt;NumberLong&gt;,   // Starting in 4.2.1
   &quot;currentInactive&quot; : &lt;NumberLong&gt;, // Starting in 4.2.1
   &quot;totalStarted&quot; : &lt;NumberLong&gt;,
   &quot;totalCommitted&quot; : &lt;NumberLong&gt;,
   &quot;totalAborted&quot; : &lt;NumberLong&gt;,
   &quot;abortCause&quot; : {
      &lt;String1&gt; : &lt;NumberLong&gt;,
      &lt;String2&gt;&quot; : &lt;NumberLong&gt;,
      ...
   },
   &quot;totalContactedParticipants&quot; : &lt;NumberLong&gt;,
   &quot;totalParticipantsAtCommit&quot; : &lt;NumberLong&gt;,
   &quot;totalRequestsTargeted&quot; : &lt;NumberLong&gt;,
   &quot;commitTypes&quot; : {
      &quot;noShards&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; : &lt;NumberLong&gt;,
      },
      &quot;singleShard&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; : &lt;NumberLong&gt;,
      },
      &quot;singleWriteShard&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; : &lt;NumberLong&gt;,
      },
      &quot;readOnly&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; : &lt;NumberLong&gt;,
      },
      &quot;twoPhaseCommit&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; :&lt;NumberLong&gt;,
      },
      &quot;recoverWithToken&quot; : {
         &quot;initiated&quot; : &lt;NumberLong&gt;,
         &quot;successful&quot; : &lt;NumberLong&gt;,
         &quot;successfulDurationMicros&quot; : &lt;NumberLong&gt;,
      }
   }
},
</pre></div>
</div>
</div>
    </div>
  </div>
</div><dl class="serverstatus">
<dt id="serverstatus.transactions">
<code class="descname">transactions</code><a class="headerlink" href="#serverstatus.transactions" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 3.6.3+ and on mongos in 4.2+.</em></p>
<p>When run on a <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>, a document with data about the
<a class="reference internal" href="../../core/retryable-writes.html"><span class="doc">retryable writes</span></a> and
<a class="reference internal" href="../../core/transactions.html"><span class="doc">transactions</span></a>.</p>
<p>When run on a <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>, a document with data about the
<a class="reference internal" href="../../core/transactions.html"><span class="doc">transactions</span></a> run on the instance.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.retriedCommandsCount">
<code class="descclassname">transactions.</code><code class="descname">retriedCommandsCount</code><a class="headerlink" href="#serverstatus.transactions.retriedCommandsCount" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of retry attempts that have been received after the
corresponding retryable write command has already been committed.
That is, a retryable write is attempted even though the write has
previously succeeded and has an associated record for the
transaction and session in the <a class="reference internal" href="../config-database.html#config.transactions" title="config.transactions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.transactions</span></code></a>
collection, such as when the initial write response to the client is
lost.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">MongoDB does not re-execute the committed writes.</p>
</div>
<p>The total is across all sessions.</p>
<p>The total does not include any retryable writes that may happen
internally as part of a chunk migration.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.6.3.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.retriedStatementsCount">
<code class="descclassname">transactions.</code><code class="descname">retriedStatementsCount</code><a class="headerlink" href="#serverstatus.transactions.retriedStatementsCount" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of write statements associated with the retried
commands in <a class="reference internal" href="#serverstatus.transactions.retriedCommandsCount" title="transactions.retriedCommandsCount"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions.retriedCommandsCount</span></code></a>.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">MongoDB does not re-execute the committed writes.</p>
</div>
<p>The total does not include any retryable writes that may happen
internally as part of a chunk migration.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.6.3.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.transactionsCollectionWriteCount">
<code class="descclassname">transactions.</code><code class="descname">transactionsCollectionWriteCount</code><a class="headerlink" href="#serverstatus.transactions.transactionsCollectionWriteCount" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of writes to the <a class="reference internal" href="../config-database.html#config.transactions" title="config.transactions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.transactions</span></code></a>
collection, triggered when a new retryable write statement is
committed.</p>
<p>For update and delete commands, since only single document
operations are retryable, there is one write per statement.</p>
<p>For insert operations, there is one write per batch of documents
inserted, except when a failure leads to each document being
inserted separately.</p>
<p>The total includes writes to a server’s <a class="reference internal" href="../config-database.html#config.transactions" title="config.transactions"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">config.transactions</span></code></a>
collection that occur as part of a migration.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.6.3.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.currentActive">
<code class="descclassname">transactions.</code><code class="descname">currentActive</code><a class="headerlink" href="#serverstatus.transactions.currentActive" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2.1+</em></p>
<p>The total number of open transactions currently executing a command.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.currentInactive">
<code class="descclassname">transactions.</code><code class="descname">currentInactive</code><a class="headerlink" href="#serverstatus.transactions.currentInactive" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2.1+</em></p>
<p>The total number of open transactions that are not currently
executing a command.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.currentOpen">
<code class="descclassname">transactions.</code><code class="descname">currentOpen</code><a class="headerlink" href="#serverstatus.transactions.currentOpen" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2.1+</em></p>
<p>The total number of open transactions. A transaction is opened when
the first command is run as a part of that transaction, and stays
open until the transaction either commits or aborts.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalAborted">
<code class="descclassname">transactions.</code><code class="descname">totalAborted</code><a class="headerlink" href="#serverstatus.transactions.totalAborted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2+.</em></p>
<p>For the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>, the total number of transactions
aborted on this instance since its last startup.</p>
<p>For the <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>, the total number of transactions
aborted through this instance since its last startup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalCommitted">
<code class="descclassname">transactions.</code><code class="descname">totalCommitted</code><a class="headerlink" href="#serverstatus.transactions.totalCommitted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2+.</em></p>
<p>For the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>, the total number of transactions
committed on the instance since its last startup.</p>
<p>For the <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>,the total number of transactions
committed through this instance since its last startup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalStarted">
<code class="descclassname">transactions.</code><code class="descname">totalStarted</code><a class="headerlink" href="#serverstatus.transactions.totalStarted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod in 4.0.2+ and mongos in 4.2+.</em></p>
<p>For the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>, the total number of transactions
started on this instance since its last startup.</p>
<p>For the <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>, the total number of transactions
started on this instance since its last startup.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.abortCause">
<code class="descclassname">transactions.</code><code class="descname">abortCause</code><a class="headerlink" href="#serverstatus.transactions.abortCause" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongos only.</em></p>
<p>Breakdown of the <a class="reference internal" href="#serverstatus.transactions.totalAborted" title="transactions.totalAborted"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions.totalAborted</span></code></a> by cause.
If a client issues an explicit <code class="docutils literal"><span class="pre">abortTransaction</span></code>, the cause is
listed as <code class="docutils literal"><span class="pre">abort</span></code>.</p>
<p>For example:</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;totalAborted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">5</span><span class="p">),</span>
<span class="s2">&quot;abortCause&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;abort&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span>
   <span class="s2">&quot;DuplicateKey&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span>
   <span class="s2">&quot;StaleConfig&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">3</span><span class="p">),</span>
   <span class="s2">&quot;SnapshotTooOld&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalContactedParticipants">
<code class="descclassname">transactions.</code><code class="descname">totalContactedParticipants</code><a class="headerlink" href="#serverstatus.transactions.totalContactedParticipants" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongos only.</em></p>
<p>The total number of shards contacted for all transactions started
through this <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> since its last startup.</p>
<p>The number of shards contacted during the transaction processes can
include those shards that may not be included as part of the commit.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalParticipantsAtCommit">
<code class="descclassname">transactions.</code><code class="descname">totalParticipantsAtCommit</code><a class="headerlink" href="#serverstatus.transactions.totalParticipantsAtCommit" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongos only.</em></p>
<p>Total number of shards involved in the commit for all transactions
started through this <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> since its last startup.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalRequestsTargeted">
<code class="descclassname">transactions.</code><code class="descname">totalRequestsTargeted</code><a class="headerlink" href="#serverstatus.transactions.totalRequestsTargeted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongos only.</em></p>
<p>Total number of network requests targeted by the
<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> as part of its transactions.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.commitTypes">
<code class="descclassname">transactions.</code><code class="descname">commitTypes</code><a class="headerlink" href="#serverstatus.transactions.commitTypes" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongos only.</em></p>
<p>Breakdown of the commits by types.  For example:</p>
<div class="button-code-block">
<div class="button-row">
</div>
<div class="highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;noShards&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="p">},</span>
<span class="s2">&quot;singleShard&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">5</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">5</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">203118</span><span class="p">)</span>
<span class="p">},</span>
<span class="s2">&quot;singleWriteShard&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="p">},</span>
<span class="s2">&quot;readOnly&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="p">},</span>
<span class="s2">&quot;twoPhaseCommit&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">179616</span><span class="p">)</span>
<span class="p">},</span>
<span class="s2">&quot;recoverWithToken&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;initiated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successful&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">),</span>
   <span class="s2">&quot;successfulDurationMicros&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<p>The types of commit are:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">noShards</span></code></td>
<td>Commits of transactions that did not contact any shards.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">singleShard</span></code></td>
<td>Commits of transactions that affected a single shard.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">singleWriteShard</span></code></td>
<td>Commits of transactions that contacted multiple shards but
whose write operations only affected a single shard.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">readOnly</span></code></td>
<td>Commits of transactions that only involved read operations.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">twoPhaseCommit</span></code></td>
<td>Commits of transactions that included writes to multiple
shards</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">recoverWithToken</span></code></td>
<td>Commits that recovered the outcome of transactions from
another instance or after this instance was restarted.</td>
</tr>
</tbody>
</table>
<p>For each commit type, the command returns the following metrics:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Metrics</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">initiated</span></code></td>
<td>Total number of times that commits of this type were
initiated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">successful</span></code></td>
<td>Total number of times that commits of this type succeeded.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">successfulDurationMicros</span></code></td>
<td>Total time, in microseconds, taken by successful commits of
this type.</td>
</tr>
</tbody>
</table>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalPrepared">
<code class="descclassname">transactions.</code><code class="descname">totalPrepared</code><a class="headerlink" href="#serverstatus.transactions.totalPrepared" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of transactions in prepared state on this server
since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process’s last startup.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalPreparedThenCommitted">
<code class="descclassname">transactions.</code><code class="descname">totalPreparedThenCommitted</code><a class="headerlink" href="#serverstatus.transactions.totalPreparedThenCommitted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of transactions that were prepared and committed on
this server since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process’s last
startup.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.totalPreparedThenAborted">
<code class="descclassname">transactions.</code><code class="descname">totalPreparedThenAborted</code><a class="headerlink" href="#serverstatus.transactions.totalPreparedThenAborted" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The total number of transactions that were prepared and aborted on
this server since the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process’s last
startup.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.currentPrepared">
<code class="descclassname">transactions.</code><code class="descname">currentPrepared</code><a class="headerlink" href="#serverstatus.transactions.currentPrepared" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The current number of transactions in prepared state on this server.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.transactions.lastCommittedTransaction">
<code class="descclassname">transactions.</code><code class="descname">lastCommittedTransaction</code><a class="headerlink" href="#serverstatus.transactions.lastCommittedTransaction" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Available on mongod only.</em></p>
<p>The details of the last transaction committed when the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> is primary.</p>
<p>When returned from a secondary,
<a class="reference internal" href="#serverstatus.transactions.lastCommittedTransaction" title="transactions.lastCommittedTransaction"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">lastCommittedTransaction</span></code></a> returns the
details of the last transaction committed when that secondary was a
primary.</p>
<div class="button-code-block">
<div class="button-row">
</div>
<div class="highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;lastCommittedTransaction&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;operationCount&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span>
   <span class="s2">&quot;oplogOperationBytes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="mi">211</span><span class="p">),</span>
   <span class="s2">&quot;writeConcern&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;w&quot;</span> <span class="o">:</span> <span class="s2">&quot;majority&quot;</span><span class="p">,</span>
      <span class="s2">&quot;wtimeout&quot;</span> <span class="o">:</span> <span class="mi">0</span>
   <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Metrics</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">operationCount</span></code></td>
<td>The number of write operations in the transaction.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oplogOperationBytes</span></code></td>
<td>The size of the corresponding oplog entry or entries for
the transaction. <a class="footnote-reference" href="#oplog-change" id="id4">[1]</a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">writeConcern</span></code></td>
<td>The write concern used for the transaction.</td>
</tr>
</tbody>
</table>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.2: </span>(<em>Also available in 4.0.9</em>)</p>
</div>
</dd></dl>

<table class="docutils footnote" frame="void" id="oplog-change" rules="none">
<colgroup><col class="label" /><col /></colgroup>
<tbody valign="top">
<tr><td class="label"><a class="fn-backref" href="#id4">[1]</a></td><td>Starting in version 4.2, MongoDB creates as many oplog entries as
necessary to the encapsulate all write operations in a transaction
whereas in version 4.0, the write operations in a transaction must
fit within a single oplog entry. See <a class="reference internal" href="../../core/transactions-production-consideration.html#txn-oplog-size-limit"><span class="std std-ref">Oplog Size Limit</span></a> for
details.</td></tr>
</tbody>
</table>
</div>
<div class="section" id="transportsecurity">
<h3>transportSecurity<a class="headerlink" href="#transportsecurity" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.0.2: </span>(<em>Also available in 3.6.7+ and 3.4.17+</em>)</p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;transportSecurity&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;1.0&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;1.1&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;1.2&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;1.3&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;unknown&quot;</span> <span class="o">:&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.transportSecurity.&lt;version&gt;">
<code class="descclassname">transportSecurity.</code><code class="descname">&lt;version&gt;</code><a class="headerlink" href="#serverstatus.transportSecurity.<version>" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.2: </span>(<em>Also available in 3.6.7+ and 3.4.17+</em>)</p>
</div>
<p>The cumulative number of TLS &lt;version&gt; connections that have been
made to this <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> or <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>
instance. The value is reset upon restart.</p>
</dd></dl>

</div>
<div class="section" id="wiredtiger">
<span id="server-status-wiredtiger"></span><h3>wiredTiger<a class="headerlink" href="#wiredtiger" title="Permalink to this headline">¶</a></h3>
<p><code class="docutils literal"><span class="pre">wiredTiger</span></code> information only appears if using the <a class="reference internal" href="../../core/wiredtiger.html"><span class="doc">WiredTiger</span></a> storage engine. Some of the statistics roll up for the server.</p>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="p">{</span>
   <span class="s2">&quot;uri&quot;</span> <span class="o">:</span> <span class="s2">&quot;statistics:&quot;</span><span class="p">,</span>
   <span class="s2">&quot;async&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;current work queue length&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;maximum work queue length&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of allocation state races&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of flush calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of operation slots viewed for allocation&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of times operation allocation failed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of times worker found no work&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total allocations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total compact calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total insert calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total remove calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total search calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total update calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;block-manager&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;blocks pre-loaded&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;blocks read&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;blocks written&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes read&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written for checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;mapped blocks read&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;mapped bytes read&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;cache&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;application threads page read from disk to cache count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;application threads page read from disk to cache time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;application threads page write from cache to disk count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;application threads page write from cache to disk time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes belonging to page images in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes belonging to the cache overflow table in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes currently in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes dirty in the cache cumulative&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes not belonging to page images in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes read into cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written from cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow cursor application thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow cursor internal thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow score&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow table entries&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow table insert calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow table max on-disk size&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow table on-disk size&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cache overflow table remove calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;checkpoint blocked page eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction calls to get a page&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction calls to get a page found queue empty&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction calls to get a page found queue empty after locking&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction currently operating in aggressive mode&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction empty score&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction passes of a file&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server candidate queue empty when topping up&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server candidate queue not empty when topping up&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server evicting pages&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server slept, because we did not make progress with eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server unable to reach eviction goal&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server waiting for a leaf page&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server waiting for an internal page sleep (usec)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction server waiting for an internal page yields&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction state&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walk target pages histogram - 0-9&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walk target pages histogram - 10-31&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walk target pages histogram - 128 and higher&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walk target pages histogram - 32-63&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walk target pages histogram - 64-128&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks abandoned&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks gave up because they restarted their walk twice&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks gave up because they saw too many pages and found no candidates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks gave up because they saw too many pages and found too few candidates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks reached end of tree&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks started from root of tree&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction walks started from saved location in tree&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction worker thread active&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction worker thread created&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction worker thread evicting pages&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction worker thread removed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;eviction worker thread stable number&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;files with active eviction walks&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;files with new eviction walks started&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;force re-tuning of eviction workers once in a while&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages evicted that were clean count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages evicted that were clean time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages evicted that were dirty count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages evicted that were dirty time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages selected because of too many deleted items count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages selected count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages selected unable to be evicted count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;forced eviction - pages selected unable to be evicted time&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;hazard pointer blocked page eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;hazard pointer check calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;hazard pointer check entries walked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;hazard pointer maximum array length&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;in-memory page passed criteria to be split&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;in-memory page splits&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;internal pages evicted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;internal pages split during eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;leaf pages split during eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;maximum bytes configured&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;maximum page size at eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;modified pages evicted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;modified pages evicted by application threads&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operations timed out waiting for space in cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;overflow pages read into cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page split during eviction deepened the tree&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page written requiring cache overflow records&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages currently held in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages evicted by application threads&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages queued for eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages queued for eviction post lru sorting&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages queued for urgent eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages queued for urgent eviction during walk&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache after truncate&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache after truncate in prepare state&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache requiring cache overflow entries&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache requiring cache overflow for checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache skipping older cache overflow entries&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache with skipped cache overflow entries needed later&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages read into cache with skipped cache overflow entries needed later by checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages requested from the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages seen by eviction walk&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages selected for eviction unable to be evicted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages walked for eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages written from cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages written requiring in-memory restoration&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;percentage overhead&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;tracked bytes belonging to internal pages in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;tracked bytes belonging to leaf pages in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;tracked dirty bytes in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;tracked dirty pages in the cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;unmodified pages evicted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;capacity&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;background fsync file handles considered&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;background fsync file handles synced&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;background fsync time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes read&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written for checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written for eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written for log&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;bytes written total&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;threshold to call fsync&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;time waiting due to total capacity (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;time waiting during checkpoint (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;time waiting during eviction (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;time waiting during logging (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;time waiting during read (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;connection&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;auto adjusting condition resets&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;auto adjusting condition wait calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;detected system time went backwards&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;files currently open&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;memory allocations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;memory frees&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;memory re-allocations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pthread mutex condition wait calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pthread mutex shared lock read-lock calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pthread mutex shared lock write-lock calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total fsync I/Os&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total read I/Os&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total write I/Os&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;cursor&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;cached cursor count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor bulk loaded cursor insert calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor close calls that result in cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor create calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor insert calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor insert key and value bytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor modify calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor modify key and value bytes affected&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor modify value bytes modified&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor next calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor operation restarted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor prev calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor remove calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor remove key bytes removed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor reserve calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor reset calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor search calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor search near calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor sweep buckets&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor sweep cursors closed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor sweep cursors examined&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor sweeps&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor truncate calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor update calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor update key and value bytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursor update value size change&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;cursors reused from cache&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;open cursor count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;data-handle&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;connection data handle size&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection data handles currently active&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection sweep candidate became referenced&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection sweep dhandles closed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection sweep dhandles removed from hash list&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection sweep time-of-death sets&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection sweeps&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;session dhandles swept&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;session sweep attempts&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;lock&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;checkpoint lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;checkpoint lock application thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;checkpoint lock internal thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;dhandle lock application thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;dhandle lock internal thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;dhandle read lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;dhandle write lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue lock application thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue lock internal thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue read lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue write lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;metadata lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;metadata lock application thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;metadata lock internal thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue lock application thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue lock internal thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue read lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue write lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;schema lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;schema lock application thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;schema lock internal thread wait time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table lock application thread time waiting for the table lock (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table lock internal thread time waiting for the table lock (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table read lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table write lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;txn global lock application thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;txn global lock internal thread time waiting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;txn global read lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;txn global write lock acquisitions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;log&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;busy returns attempting to switch slots&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;force archive time sleeping (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log bytes of payload data&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log bytes written&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log files manually zero-filled&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log flush operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log force write operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log force write operations skipped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log records compressed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log records not compressed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log records too small to compress&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log release advances write LSN&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log scan operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log scan records requiring two reads&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log server thread advances write LSN&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log server thread write LSN walk skipped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log sync operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log sync time duration (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log sync_dir operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log sync_dir time duration (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log write operations&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;logging bytes consolidated&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;maximum log file size&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of pre-allocated log files to create&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pre-allocated log files not ready and missed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pre-allocated log files prepared&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pre-allocated log files used&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;records processed by log scan&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot close lost race&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot close unbuffered waits&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot closures&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join atomic update races&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join calls atomic updates raced&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join calls did not yield&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join calls found active slot closed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join calls slept&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join calls yielded&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot join found active slot closed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot joins yield time (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot transitions unable to find free slot&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;slot unbuffered writes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total in-memory size of compressed records&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total log buffer size&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total size of compressed records&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;written slots coalesced&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;yields waiting for previous log file close&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;perf&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;file system read latency histogram (bucket 1) - 10-49ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system read latency histogram (bucket 2) - 50-99ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system read latency histogram (bucket 3) - 100-249ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system read latency histogram (bucket 4) - 250-499ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system read latency histogram (bucket 5) - 500-999ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system read latency histogram (bucket 6) - 1000ms+&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 1) - 10-49ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 2) - 50-99ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 3) - 100-249ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 4) - 250-499ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 5) - 500-999ms&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;file system write latency histogram (bucket 6) - 1000ms+&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation read latency histogram (bucket 1) - 100-249us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation read latency histogram (bucket 2) - 250-499us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation read latency histogram (bucket 3) - 500-999us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation read latency histogram (bucket 4) - 1000-9999us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation read latency histogram (bucket 5) - 10000us+&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation write latency histogram (bucket 1) - 100-249us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation write latency histogram (bucket 2) - 250-499us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation write latency histogram (bucket 3) - 500-999us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation write latency histogram (bucket 4) - 1000-9999us&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;operation write latency histogram (bucket 5) - 10000us+&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;reconciliation&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;fast-path pages deleted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page reconciliation calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page reconciliation calls for eviction&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;pages deleted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;split bytes currently awaiting free&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;split objects currently awaiting free&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;session&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;open session count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;session query timestamp calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table alter failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table alter successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table alter unchanged and skipped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table compact failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table compact successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table create failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table create successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table drop failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table drop successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table import failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table import successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table rebalance failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table rebalance successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table rename failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table rename successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table salvage failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table salvage successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table truncate failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table truncate successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table verify failed calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;table verify successful calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;thread-state&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;active filesystem fsync calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;active filesystem read calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;active filesystem write calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;thread-yield&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;application thread time evicting (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;application thread time waiting for cache (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection close blocked waiting for transaction state stabilization&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;connection close yielded for lsm manager shutdown&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;data handle lock yielded&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;get reference for page index and slot time sleeping (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;log server sync yielded for log write&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page access yielded due to prepare state change&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page acquire busy blocked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page acquire eviction blocked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page acquire locked blocked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page acquire read blocked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page acquire time sleeping (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page delete rollback time sleeping for state change (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;page reconciliation yielded due to child modification&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;transaction&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;Number of prepared updates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;Number of prepared updates added to cache overflow&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;Number of prepared updates resolved&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue entries walked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue insert to empty&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue inserts to head&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue inserts total&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;durable timestamp queue length&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of named snapshots created&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;number of named snapshots dropped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;prepared transactions&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;prepared transactions committed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;prepared transactions currently active&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;prepared transactions rolled back&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;query timestamp calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue entries walked&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue insert to empty&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue inserts to head&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue inserts total&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;read timestamp queue length&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;rollback to stable calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;rollback to stable updates aborted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;rollback to stable updates removed from cache overflow&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp durable calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp durable updates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp oldest calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp oldest updates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp stable calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;set timestamp stable updates&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction begins&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint currently running&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint generation&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint max time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint min time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint most recent time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint scrub dirty target&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint scrub time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoint total time (msecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoints&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction checkpoints skipped because database was clean&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction failures due to cache overflow&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction fsync calls for checkpoint after allocating the transaction ID&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction fsync duration for checkpoint after allocating the transaction ID (usecs)&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of IDs currently pinned&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of IDs currently pinned by a checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of IDs currently pinned by named snapshots&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of timestamps currently pinned&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of timestamps pinned by a checkpoint&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of timestamps pinned by the oldest active read timestamp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction range of timestamps pinned by the oldest timestamp&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction read timestamp of the oldest active reader&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transaction sync calls&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transactions committed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;transactions rolled back&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;update conflicts&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
   <span class="p">},</span>
   <span class="s2">&quot;concurrentTransactions&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;write&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;out&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;available&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;totalTickets&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
      <span class="p">},</span>
      <span class="s2">&quot;read&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;out&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;available&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;totalTickets&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
      <span class="p">}</span>
   <span class="p">},</span>
   <span class="s2">&quot;snapshot-window-settings&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;cache pressure percentage threshold&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;current cache pressure percentage&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;total number of SnapshotTooOld errors&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;max target available snapshots window size in seconds&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;target available snapshots window size in seconds&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;current available snapshots window size in seconds&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;latest majority snapshot timestamp available&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="s2">&quot;oldest majority snapshot timestamp available&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span>
   <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The following is not an exhaustive list.</p>
</div>
<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.uri">
<code class="descclassname">wiredTiger.</code><code class="descname">uri</code><a class="headerlink" href="#serverstatus.wiredTiger.uri" title="Permalink to this definition">¶</a></dt>
<dd><p>A string. For internal use by MongoDB.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.async">
<code class="descclassname">wiredTiger.</code><code class="descname">async</code><a class="headerlink" href="#serverstatus.wiredTiger.async" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics related to the asynchronous
operations API. This is unused by MongoDB.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.block-manager">
<code class="descclassname">wiredTiger.</code><code class="descname">block-manager</code><a class="headerlink" href="#serverstatus.wiredTiger.block-manager" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on the block manager operations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache">
<code class="descclassname">wiredTiger.</code><code class="descname">cache</code><a class="headerlink" href="#serverstatus.wiredTiger.cache" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on the cache and page evictions
from the cache.</p>
<p>The following describes some of the key
<a class="reference internal" href="#serverstatus.wiredTiger.cache" title="wiredTiger.cache"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">wiredTiger.cache</span></code></a> statistics:</p>
<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.maximum-bytes-configured">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">maximum bytes configured</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.maximum-bytes-configured" title="Permalink to this definition">¶</a></dt>
<dd><p>Maximum cache size.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.bytes-currently-in-the-cache">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">bytes currently in the cache</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.bytes-currently-in-the-cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Size in byte of the data currently in cache. This value should
not be greater than the <code class="docutils literal"><span class="pre">maximum</span> <span class="pre">bytes</span> <span class="pre">configured</span></code> value.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.unmodified-pages-evicted">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">unmodified pages evicted</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.unmodified-pages-evicted" title="Permalink to this definition">¶</a></dt>
<dd><p>Main statistics for page eviction.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.tracked-dirty-bytes-in-the-cache">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">tracked dirty bytes in the cache</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.tracked-dirty-bytes-in-the-cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Size in bytes of the dirty data in the cache. This value should
be less than the <code class="docutils literal"><span class="pre">bytes</span> <span class="pre">currently</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">cache</span></code> value.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.pages-read-into-cache">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">pages read into cache</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.pages-read-into-cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of pages read into the cache.
<a class="reference internal" href="#serverstatus.wiredTiger.cache.pages-read-into-cache" title="wiredTiger.cache.pages read into cache"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">wiredTiger.cache.pages</span> <span class="pre">read</span> <span class="pre">into</span> <span class="pre">cache</span></code></a> with
the <code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">wiredTiger.cache.pages</span> <span class="pre">written</span> <span class="pre">from</span>
<span class="pre">cache</span></code> can provide an overview of the I/O activity.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cache.pages-written-from-cache">
<code class="descclassname">wiredTiger.cache.</code><code class="descname">pages written from cache</code><a class="headerlink" href="#serverstatus.wiredTiger.cache.pages-written-from-cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of pages written from the cache.
<a class="reference internal" href="#serverstatus.wiredTiger.cache.pages-written-from-cache" title="wiredTiger.cache.pages written from cache"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">wiredTiger.cache.pages</span> <span class="pre">written</span> <span class="pre">from</span> <span class="pre">cache</span></code></a>
with the <code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">wiredTiger.cache.pages</span> <span class="pre">read</span> <span class="pre">into</span>
<span class="pre">cache</span></code> can provide an overview of the I/O activity.</p>
</dd></dl>

<p>To adjust the size of the WiredTiger internal cache, see
<a class="reference internal" href="../configuration-options.html#storage.wiredTiger.engineConfig.cacheSizeGB" title="storage.wiredTiger.engineConfig.cacheSizeGB"><code class="xref mongodb mongodb-setting docutils literal"><span class="pre">storage.wiredTiger.engineConfig.cacheSizeGB</span></code></a> and
<a class="reference internal" href="../program/mongod.html#cmdoption-mongod-wiredtigercachesizegb"><code class="xref std std-option docutils literal"><span class="pre">--wiredTigerCacheSizeGB</span></code></a>. Avoid increasing the WiredTiger
internal cache size above its default value.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.connection">
<code class="descclassname">wiredTiger.</code><code class="descname">connection</code><a class="headerlink" href="#serverstatus.wiredTiger.connection" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics related to WiredTiger connections.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.cursor">
<code class="descclassname">wiredTiger.</code><code class="descname">cursor</code><a class="headerlink" href="#serverstatus.wiredTiger.cursor" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on WiredTiger cursor.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.data-handle">
<code class="descclassname">wiredTiger.</code><code class="descname">data-handle</code><a class="headerlink" href="#serverstatus.wiredTiger.data-handle" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on the data handles and sweeps.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.log">
<code class="descclassname">wiredTiger.</code><code class="descname">log</code><a class="headerlink" href="#serverstatus.wiredTiger.log" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on WiredTiger’s write ahead log
(i.e. the journal).</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference internal" href="../../core/journaling.html#journaling-wiredtiger"><span class="std std-ref">Journaling and the WiredTiger Storage Engine</span></a></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.reconciliation">
<code class="descclassname">wiredTiger.</code><code class="descname">reconciliation</code><a class="headerlink" href="#serverstatus.wiredTiger.reconciliation" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on the reconciliation process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.session">
<code class="descclassname">wiredTiger.</code><code class="descname">session</code><a class="headerlink" href="#serverstatus.wiredTiger.session" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns the open cursor count and open session count
for the session.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.thread-yield">
<code class="descclassname">wiredTiger.</code><code class="descname">thread-yield</code><a class="headerlink" href="#serverstatus.wiredTiger.thread-yield" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on yields during page
acquisitions.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.transaction">
<code class="descclassname">wiredTiger.</code><code class="descname">transaction</code><a class="headerlink" href="#serverstatus.wiredTiger.transaction" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns statistics on transaction checkpoints and
operations.</p>
<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.transaction.transaction-checkpoint-most-recent-time">
<code class="descclassname">wiredTiger.transaction.</code><code class="descname">transaction checkpoint most recent time</code><a class="headerlink" href="#serverstatus.wiredTiger.transaction.transaction-checkpoint-most-recent-time" title="Permalink to this definition">¶</a></dt>
<dd><p>Amount of time, in milliseconds, to create the most recent
checkpoint. An increase in this value under stead write load may
indicate saturation on the I/O subsystem.</p>
</dd></dl>

</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.wiredTiger.concurrentTransactions">
<code class="descclassname">wiredTiger.</code><code class="descname">concurrentTransactions</code><a class="headerlink" href="#serverstatus.wiredTiger.concurrentTransactions" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns information on the number of concurrent of
read and write transactions allowed into the WiredTiger storage
engine. These settings are MongoDB-specific.</p>
<p>To change the settings for concurrent
reads and write transactions, see
<a class="reference internal" href="../parameters.html#param.wiredTigerConcurrentReadTransactions" title="wiredTigerConcurrentReadTransactions"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">wiredTigerConcurrentReadTransactions</span></code></a> and
<a class="reference internal" href="../parameters.html#param.wiredTigerConcurrentWriteTransactions" title="wiredTigerConcurrentWriteTransactions"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">wiredTigerConcurrentWriteTransactions</span></code></a>.</p>
</dd></dl>

</div>
<div class="section" id="writebacksqueued">
<span id="server-status-write-backs-queued"></span><span id="server-status-writebacksqueued"></span><h3>writeBacksQueued<a class="headerlink" href="#writebacksqueued" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;writeBacksQueued&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.writeBacksQueued">
<code class="descname">writeBacksQueued</code><a class="headerlink" href="#serverstatus.writeBacksQueued" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that indicates whether there are operations from a
<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instance queued for retrying. Typically, this
value is false.  See also <a class="reference internal" href="../glossary.html#term-writebacks"><span class="xref std std-term">writeBacks</span></a>.</p>
</dd></dl>

</div>
<div class="section" id="mem">
<span id="server-status-memory"></span><span id="memory-status"></span><h3>mem<a class="headerlink" href="#mem" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;mem&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;bits&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;resident&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;virtual&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;supported&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;mapped&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span><span class="p">,</span>
   <span class="s2">&quot;mappedWithJournal&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">int</span><span class="o">&gt;</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.mem">
<code class="descname">mem</code><a class="headerlink" href="#serverstatus.mem" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the system architecture of the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> and current memory use.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.mem.bits">
<code class="descclassname">mem.</code><code class="descname">bits</code><a class="headerlink" href="#serverstatus.mem.bits" title="Permalink to this definition">¶</a></dt>
<dd><p>A number, either <code class="docutils literal"><span class="pre">64</span></code> or <code class="docutils literal"><span class="pre">32</span></code>, that indicates whether the
MongoDB instance is compiled for 64-bit or 32-bit architecture.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.mem.resident">
<code class="descclassname">mem.</code><code class="descname">resident</code><a class="headerlink" href="#serverstatus.mem.resident" title="Permalink to this definition">¶</a></dt>
<dd><p>The value of <a class="reference internal" href="#serverstatus.mem.resident" title="mem.resident"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem.resident</span></code></a> is roughly equivalent to
the amount of RAM, in mebibyte (MiB), currently used by the database
process. During normal use, this value tends to grow. In dedicated
database servers, this number tends to approach the total amount of
system memory.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.mem.virtual">
<code class="descclassname">mem.</code><code class="descname">virtual</code><a class="headerlink" href="#serverstatus.mem.virtual" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.mem.virtual" title="mem.virtual"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem.virtual</span></code></a> displays the quantity, in mebibyte
(MiB), of virtual memory used by the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.mem.supported">
<code class="descclassname">mem.</code><code class="descname">supported</code><a class="headerlink" href="#serverstatus.mem.supported" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean that indicates whether the underlying system supports
extended memory information. If this value is false and the system
does not support extended memory information, then other
<a class="reference internal" href="#serverstatus.mem" title="mem"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem</span></code></a> values may not be accessible to the database
server.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.mem.note">
<code class="descclassname">mem.</code><code class="descname">note</code><a class="headerlink" href="#serverstatus.mem.note" title="Permalink to this definition">¶</a></dt>
<dd><p>The field <a class="reference internal" href="#serverstatus.mem.note" title="mem.note"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem.note</span></code></a> appears if
<a class="reference internal" href="#serverstatus.mem.supported" title="mem.supported"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem.supported</span></code></a> is false.</p>
<p>The <a class="reference internal" href="#serverstatus.mem.note" title="mem.note"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">mem.note</span></code></a> field contains the text: <code class="docutils literal"><span class="pre">&quot;not</span> <span class="pre">all</span> <span class="pre">mem</span>
<span class="pre">info</span> <span class="pre">support</span> <span class="pre">on</span> <span class="pre">this</span> <span class="pre">platform&quot;</span></code>.</p>
</dd></dl>

</div>
<div class="section" id="metrics">
<span id="server-status-metrics"></span><h3>metrics<a class="headerlink" href="#metrics" title="Permalink to this headline">¶</a></h3>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;metrics&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;commands&quot;</span><span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;&lt;command&gt;&quot;</span><span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;failed&quot;</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;total&quot;</span><span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">}</span>
   <span class="p">},</span>
   <span class="s2">&quot;cursor&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;timedOut&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;open&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;noTimeout&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="s2">&quot;pinned&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="s2">&quot;multiTarget&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="s2">&quot;singleTarget&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
            <span class="s2">&quot;total&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="p">}</span>
   <span class="p">},</span>
   <span class="s2">&quot;document&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;deleted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;inserted&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;returned&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;updated&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;getLastError&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;wtime&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;num&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;totalMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
         <span class="s2">&quot;wtimeouts&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;operation&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;scanAndOrder&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;writeConflicts&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;queryExecutor&quot;</span><span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;scanned&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;scannedObjects&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;record&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;moves&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">},</span>
   <span class="s2">&quot;repl&quot;</span> <span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;executor&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;pool&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;inProgressCount&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
         <span class="s2">&quot;queues&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;networkInProgress&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;sleepers&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
         <span class="s2">&quot;unsignaledEvents&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;shuttingDown&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="kr">boolean</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;networkInterface&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">string</span><span class="o">&gt;</span>
      <span class="p">},</span>
      <span class="s2">&quot;apply&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;attemptsToBecomeSecondary&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;batches&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;num&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;totalMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
         <span class="s2">&quot;ops&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
      <span class="p">},</span>
      <span class="s2">&quot;buffer&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;count&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;maxSizeBytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;sizeBytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
      <span class="p">},</span>
      <span class="s2">&quot;initialSync&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;completed&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;failedAttempts&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;failures&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
      <span class="p">},</span>
      <span class="s2">&quot;network&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;bytes&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;getmores&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;num&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
            <span class="s2">&quot;totalMillis&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
         <span class="p">},</span>
         <span class="s2">&quot;notMasterLegacyUnacknowledgedWrites&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;notMasterUnacknowledgedWrites&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;ops&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;readersCreated&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
      <span class="p">},</span>
      <span class="s2">&quot;stepDown&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;userOperationsKilled&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span><span class="p">,</span>
         <span class="s2">&quot;userOperationsRunning&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">NumberLong</span><span class="o">&gt;</span>
      <span class="p">}</span>
   <span class="p">},</span>
   <span class="s2">&quot;storage&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;freelist&quot;</span> <span class="o">:</span> <span class="p">{</span>
            <span class="s2">&quot;search&quot;</span> <span class="o">:</span> <span class="p">{</span>
               <span class="s2">&quot;bucketExhausted&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
               <span class="s2">&quot;requests&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">,</span>
               <span class="s2">&quot;scanned&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
            <span class="p">}</span>
         <span class="p">}</span>
   <span class="p">},</span>
   <span class="s2">&quot;ttl&quot;</span> <span class="o">:</span> <span class="p">{</span>
         <span class="s2">&quot;deletedDocuments&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
         <span class="s2">&quot;passes&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">)</span>
   <span class="p">}</span>
<span class="p">},</span>
</pre></div>
</div>
</div>
<dl class="serverstatus">
<dt id="serverstatus.metrics">
<code class="descname">metrics</code><a class="headerlink" href="#serverstatus.metrics" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that returns various statistics that reflect the current
use and state of a running <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.commands">
<code class="descclassname">metrics.</code><code class="descname">commands</code><a class="headerlink" href="#serverstatus.metrics.commands" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the use of database commands. The fields
in <a class="reference internal" href="#serverstatus.metrics.commands" title="metrics.commands"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.commands</span></code></a> are the names of <a class="reference internal" href="../command.html"><span class="doc">database
commands</span></a>. For each command, the
<a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> reports the total number of executions and
the number of failed executions.</p>
<p>Starting in MongoDB 4.0.13 and 4.2.1,
<a class="reference internal" href="#serverstatus.metrics.commands" title="metrics.commands"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.commands</span></code></a> include
<code class="docutils literal"><span class="pre">replSetStepDownWithForce</span></code> (i.e. the <a class="reference internal" href="replSetStepDown.html#dbcmd.replSetStepDown" title="replSetStepDown"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">replSetStepDown</span></code></a>
command with <code class="docutils literal"><span class="pre">force:</span> <span class="pre">true</span></code>) as well as the overall
<code class="docutils literal"><span class="pre">replSetStepDown</span></code>. In earlier versions, the command
reported only overall <code class="docutils literal"><span class="pre">replSetStepDown</span></code> metrics.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.commands.&lt;command&gt;.failed">
<code class="descclassname">metrics.commands.&lt;command&gt;.</code><code class="descname">failed</code><a class="headerlink" href="#serverstatus.metrics.commands.<command>.failed" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times <code class="docutils literal"><span class="pre">&lt;command&gt;</span></code> failed on this
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.commands.&lt;command&gt;.total">
<code class="descclassname">metrics.commands.&lt;command&gt;.</code><code class="descname">total</code><a class="headerlink" href="#serverstatus.metrics.commands.<command>.total" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times <code class="docutils literal"><span class="pre">&lt;command&gt;</span></code> executed on this
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.document">
<code class="descclassname">metrics.</code><code class="descname">document</code><a class="headerlink" href="#serverstatus.metrics.document" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reflects document access and modification patterns.
Compare these values to the data in the <a class="reference internal" href="#serverstatus.opcounters" title="opcounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters</span></code></a>
document, which track total number of operations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.document.deleted">
<code class="descclassname">metrics.document.</code><code class="descname">deleted</code><a class="headerlink" href="#serverstatus.metrics.document.deleted" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents deleted.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.document.inserted">
<code class="descclassname">metrics.document.</code><code class="descname">inserted</code><a class="headerlink" href="#serverstatus.metrics.document.inserted" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents inserted.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.document.returned">
<code class="descclassname">metrics.document.</code><code class="descname">returned</code><a class="headerlink" href="#serverstatus.metrics.document.returned" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents returned by queries.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.document.updated">
<code class="descclassname">metrics.document.</code><code class="descname">updated</code><a class="headerlink" href="#serverstatus.metrics.document.updated" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents updated.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.executor">
<code class="descclassname">metrics.</code><code class="descname">executor</code><a class="headerlink" href="#serverstatus.metrics.executor" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 3.2.</span></p>
</div>
<p>A document that reports on various statistics for the replication
executor.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.getLastError">
<code class="descclassname">metrics.</code><code class="descname">getLastError</code><a class="headerlink" href="#serverstatus.metrics.getLastError" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on <a class="reference internal" href="getLastError.html#dbcmd.getLastError" title="getLastError"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">getLastError</span></code></a> use.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.getLastError.wtime">
<code class="descclassname">metrics.getLastError.</code><code class="descname">wtime</code><a class="headerlink" href="#serverstatus.metrics.getLastError.wtime" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports <a class="reference internal" href="getLastError.html#dbcmd.getLastError" title="getLastError"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">getLastError</span></code></a> operation counts
with a <code class="docutils literal"><span class="pre">w</span></code> argument greater than <code class="docutils literal"><span class="pre">1</span></code>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.getLastError.wtime.num">
<code class="descclassname">metrics.getLastError.wtime.</code><code class="descname">num</code><a class="headerlink" href="#serverstatus.metrics.getLastError.wtime.num" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of <a class="reference internal" href="getLastError.html#dbcmd.getLastError" title="getLastError"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">getLastError</span></code></a> operations with a
specified write concern (i.e. <code class="docutils literal"><span class="pre">w</span></code>) that wait for one or more
members of a replica set to acknowledge the write operation (i.e. a
<code class="docutils literal"><span class="pre">w</span></code> value greater than <code class="docutils literal"><span class="pre">1</span></code>.)</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.getLastError.wtime.totalMillis">
<code class="descclassname">metrics.getLastError.wtime.</code><code class="descname">totalMillis</code><a class="headerlink" href="#serverstatus.metrics.getLastError.wtime.totalMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The total amount of time in milliseconds that the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
has spent performing <a class="reference internal" href="getLastError.html#dbcmd.getLastError" title="getLastError"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">getLastError</span></code></a> operations with write
concern (i.e. <code class="docutils literal"><span class="pre">w</span></code>) that wait for one or more members of a replica
set to acknowledge the write operation (i.e. a <code class="docutils literal"><span class="pre">w</span></code> value greater
than <code class="docutils literal"><span class="pre">1</span></code>.)</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.getLastError.wtimeouts">
<code class="descclassname">metrics.getLastError.</code><code class="descname">wtimeouts</code><a class="headerlink" href="#serverstatus.metrics.getLastError.wtimeouts" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times that <a class="reference internal" href="../glossary.html#term-write-concern"><span class="xref std std-term">write concern</span></a> operations have timed
out as a result of the <code class="docutils literal"><span class="pre">wtimeout</span></code> threshold to
<a class="reference internal" href="getLastError.html#dbcmd.getLastError" title="getLastError"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">getLastError</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.operation">
<code class="descclassname">metrics.</code><code class="descname">operation</code><a class="headerlink" href="#serverstatus.metrics.operation" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that holds counters for several types of update and query
operations that MongoDB handles using special operation types.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.operation.scanAndOrder">
<code class="descclassname">metrics.operation.</code><code class="descname">scanAndOrder</code><a class="headerlink" href="#serverstatus.metrics.operation.scanAndOrder" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of queries that return sorted numbers that cannot
perform the sort operation using an index.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.operation.writeConflicts">
<code class="descclassname">metrics.operation.</code><code class="descname">writeConflicts</code><a class="headerlink" href="#serverstatus.metrics.operation.writeConflicts" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of queries that encountered write conflicts.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.queryExecutor">
<code class="descclassname">metrics.</code><code class="descname">queryExecutor</code><a class="headerlink" href="#serverstatus.metrics.queryExecutor" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports data from the query execution system.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.queryExecutor.scanned">
<code class="descclassname">metrics.queryExecutor.</code><code class="descname">scanned</code><a class="headerlink" href="#serverstatus.metrics.queryExecutor.scanned" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of index items scanned during queries and
query-plan evaluation. This counter is the same as
<a class="reference internal" href="../explain-results.html#explain.executionStats.totalKeysExamined" title="explain.executionStats.totalKeysExamined"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">totalKeysExamined</span></code></a> in the output of
<a class="reference internal" href="../method/cursor.explain.html#cursor.explain" title="cursor.explain()"><code class="xref mongodb mongodb-method docutils literal"><span class="pre">explain()</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.queryExecutor.scannedObjects">
<code class="descclassname">metrics.queryExecutor.</code><code class="descname">scannedObjects</code><a class="headerlink" href="#serverstatus.metrics.queryExecutor.scannedObjects" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents scanned during queries and query-plan
evaluation. This counter is the same as
<a class="reference internal" href="../explain-results.html#explain.executionStats.totalDocsExamined" title="explain.executionStats.totalDocsExamined"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">totalDocsExamined</span></code></a> in the output of
<a class="reference internal" href="../method/cursor.explain.html#cursor.explain" title="cursor.explain()"><code class="xref mongodb mongodb-method docutils literal"><span class="pre">explain()</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.record">
<code class="descclassname">metrics.</code><code class="descname">record</code><a class="headerlink" href="#serverstatus.metrics.record" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on data related to record allocation in the
on-disk memory files.</p>
</dd></dl>

<span class="target" id="server-status-repl-network-queue"><span id="server-status-replnetworkqueue"></span></span><dl class="serverstatus">
<dt id="serverstatus.metrics.repl">
<code class="descclassname">metrics.</code><code class="descname">repl</code><a class="headerlink" href="#serverstatus.metrics.repl" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports metrics related to the replication process.
<a class="reference internal" href="#serverstatus.metrics.repl" title="metrics.repl"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl</span></code></a> document appears on all
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instances, even those that aren’t members of
<a class="reference internal" href="../glossary.html#term-replica-set"><span class="xref std std-term">replica sets</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply">
<code class="descclassname">metrics.repl.</code><code class="descname">apply</code><a class="headerlink" href="#serverstatus.metrics.repl.apply" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the application of operations from the
replication <a class="reference internal" href="../glossary.html#term-oplog"><span class="xref std std-term">oplog</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply.batchSize">
<code class="descclassname">metrics.repl.apply.</code><code class="descname">batchSize</code><a class="headerlink" href="#serverstatus.metrics.repl.apply.batchSize" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified">New in version 4.0.6: </span>(Also available in 3.6.11+)</p>
</div>
<p>The total number of oplog operations applied. The
<a class="reference internal" href="#serverstatus.metrics.repl.apply.batchSize" title="metrics.repl.apply.batchSize"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.batchSize</span></code></a> is incremented with the
number of operations in a batch at the batch boundaries instead of
being incremented by one after each operation.</p>
<p>For finer granularity, see <a class="reference internal" href="#serverstatus.metrics.repl.apply.ops" title="metrics.repl.apply.ops"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.ops</span></code></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply.batches">
<code class="descclassname">metrics.repl.apply.</code><code class="descname">batches</code><a class="headerlink" href="#serverstatus.metrics.repl.apply.batches" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.apply.batches" title="metrics.repl.apply.batches"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.batches</span></code></a> reports on the
oplog application process on <a class="reference internal" href="../glossary.html#term-secondary"><span class="xref std std-term">secondaries</span></a>
members of replica sets. See
<a class="reference internal" href="../../core/replica-set-sync.html#replica-set-internals-multi-threaded-replication"><span class="std std-ref">Multithreaded Replication</span></a> for more
information on the oplog application processes</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply.batches.num">
<code class="descclassname">metrics.repl.apply.batches.</code><code class="descname">num</code><a class="headerlink" href="#serverstatus.metrics.repl.apply.batches.num" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of batches applied across all databases.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply.batches.totalMillis">
<code class="descclassname">metrics.repl.apply.batches.</code><code class="descname">totalMillis</code><a class="headerlink" href="#serverstatus.metrics.repl.apply.batches.totalMillis" title="Permalink to this definition">¶</a></dt>
<dd><p>The total amount of time in milliseconds the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> has
spent applying operations from the oplog.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.apply.ops">
<code class="descclassname">metrics.repl.apply.</code><code class="descname">ops</code><a class="headerlink" href="#serverstatus.metrics.repl.apply.ops" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of <a class="reference internal" href="../glossary.html#term-oplog"><span class="xref std std-term">oplog</span></a> operations applied.
<a class="reference internal" href="#serverstatus.metrics.repl.apply.ops" title="metrics.repl.apply.ops"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.ops</span></code></a> is incremented after each
operation.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference internal" href="#serverstatus.metrics.repl.apply.batchSize" title="metrics.repl.apply.batchSize"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.batchSize</span></code></a></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.buffer">
<code class="descclassname">metrics.repl.</code><code class="descname">buffer</code><a class="headerlink" href="#serverstatus.metrics.repl.buffer" title="Permalink to this definition">¶</a></dt>
<dd><p>MongoDB buffers oplog operations from the replication sync source
buffer before applying oplog entries in a
batch. <a class="reference internal" href="#serverstatus.metrics.repl.buffer" title="metrics.repl.buffer"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.buffer</span></code></a> provides a way to
track the oplog buffer. See
<a class="reference internal" href="../../core/replica-set-sync.html#replica-set-internals-multi-threaded-replication"><span class="std std-ref">Multithreaded Replication</span></a> for more
information on the oplog application process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.buffer.count">
<code class="descclassname">metrics.repl.buffer.</code><code class="descname">count</code><a class="headerlink" href="#serverstatus.metrics.repl.buffer.count" title="Permalink to this definition">¶</a></dt>
<dd><p>The current number of operations in the oplog buffer.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.buffer.maxSizeBytes">
<code class="descclassname">metrics.repl.buffer.</code><code class="descname">maxSizeBytes</code><a class="headerlink" href="#serverstatus.metrics.repl.buffer.maxSizeBytes" title="Permalink to this definition">¶</a></dt>
<dd><p>The maximum size of the buffer. This value is a constant setting in
the <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>, and is not configurable.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.buffer.sizeBytes">
<code class="descclassname">metrics.repl.buffer.</code><code class="descname">sizeBytes</code><a class="headerlink" href="#serverstatus.metrics.repl.buffer.sizeBytes" title="Permalink to this definition">¶</a></dt>
<dd><p>The current size of the contents of the oplog buffer.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network">
<code class="descclassname">metrics.repl.</code><code class="descname">network</code><a class="headerlink" href="#serverstatus.metrics.repl.network" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.network" title="metrics.repl.network"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network</span></code></a> reports network use by
the replication process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.bytes">
<code class="descclassname">metrics.repl.network.</code><code class="descname">bytes</code><a class="headerlink" href="#serverstatus.metrics.repl.network.bytes" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.network.bytes" title="metrics.repl.network.bytes"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network.bytes</span></code></a> reports the total
amount of data read from the replication sync source.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.getmores">
<code class="descclassname">metrics.repl.network.</code><code class="descname">getmores</code><a class="headerlink" href="#serverstatus.metrics.repl.network.getmores" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.network.getmores" title="metrics.repl.network.getmores"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network.getmores</span></code></a> reports on the
<code class="docutils literal"><span class="pre">getmore</span></code> operations, which are requests for additional results
from the oplog <a class="reference internal" href="../glossary.html#term-cursor"><span class="xref std std-term">cursor</span></a> as part of the oplog replication
process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.getmores.num">
<code class="descclassname">metrics.repl.network.getmores.</code><code class="descname">num</code><a class="headerlink" href="#serverstatus.metrics.repl.network.getmores.num" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.network.getmores.num" title="metrics.repl.network.getmores.num"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network.getmores.num</span></code></a> reports the
total number of <code class="docutils literal"><span class="pre">getmore</span></code> operations, which are operations that
request an additional set of operations from the replication sync
source.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.getmores.totalMillis">
<code class="descclassname">metrics.repl.network.getmores.</code><code class="descname">totalMillis</code><a class="headerlink" href="#serverstatus.metrics.repl.network.getmores.totalMillis" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference internal" href="#serverstatus.metrics.repl.network.getmores.totalMillis" title="metrics.repl.network.getmores.totalMillis"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network.getmores.totalMillis</span></code></a>
reports the total amount of time required to collect data from
<code class="docutils literal"><span class="pre">getmore</span></code> operations.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This number can be quite large, as MongoDB will wait for more
data even if the <code class="docutils literal"><span class="pre">getmore</span></code> operation does not initial return
data.</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.notMasterLegacyUnacknowledgedWrites">
<code class="descclassname">metrics.repl.network.</code><code class="descname">notMasterLegacyUnacknowledgedWrites</code><a class="headerlink" href="#serverstatus.metrics.repl.network.notMasterLegacyUnacknowledgedWrites" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of unacknowledged (<code class="docutils literal"><span class="pre">w:</span> <span class="pre">0</span></code>) legacy write operations (see
<a class="reference internal" href="../mongodb-wire-protocol.html#wp-request-opcodes"><span class="std std-ref">Request Opcodes</span></a>) that failed because the current
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> is not in <a class="reference internal" href="../replica-states.html#replstate.PRIMARY" title="PRIMARY"><code class="xref mongodb mongodb-replstate docutils literal"><span class="pre">PRIMARY</span></code></a> state.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.notMasterUnacknowledgedWrites">
<code class="descclassname">metrics.repl.network.</code><code class="descname">notMasterUnacknowledgedWrites</code><a class="headerlink" href="#serverstatus.metrics.repl.network.notMasterUnacknowledgedWrites" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of unacknowledged (<code class="docutils literal"><span class="pre">w:</span> <span class="pre">0</span></code>) write operations that failed
because the current <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> is not in
<a class="reference internal" href="../replica-states.html#replstate.PRIMARY" title="PRIMARY"><code class="xref mongodb mongodb-replstate docutils literal"><span class="pre">PRIMARY</span></code></a> state.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.ops">
<code class="descclassname">metrics.repl.network.</code><code class="descname">ops</code><a class="headerlink" href="#serverstatus.metrics.repl.network.ops" title="Permalink to this definition">¶</a></dt>
<dd><p>The total
number of operations read from the replication source.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.network.readersCreated">
<code class="descclassname">metrics.repl.network.</code><code class="descname">readersCreated</code><a class="headerlink" href="#serverstatus.metrics.repl.network.readersCreated" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of oplog query processes created. MongoDB will
create a new oplog query any time an error occurs in the
connection, including a timeout, or a network
operation. Furthermore,
<a class="reference internal" href="#serverstatus.metrics.repl.network.readersCreated" title="metrics.repl.network.readersCreated"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network.readersCreated</span></code></a> will
increment every time MongoDB selects a new source for replication.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stateTransition">
<code class="descclassname">metrics.repl.</code><code class="descname">stateTransition</code><a class="headerlink" href="#serverstatus.metrics.repl.stateTransition" title="Permalink to this definition">¶</a></dt>
<dd><p>Information on user operations when the member undergoes one of the
following transitions that can kill user operations:</p>
<ul class="simple">
<li>The member steps up to become a primary.</li>
<li>The member steps down to become a secondary.</li>
<li>The member is actively performing a rollback.</li>
</ul>
<div class="versionchanged">
<p><span class="versionmodified">Changed in version 4.2.3: </span>Previously named <code class="docutils literal"><span class="pre">metrics.repl.stepDown</span></code> when introduced in
version 4.2 and tracked only the step down state change.</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stateTransition.lastStateTransition">
<code class="descclassname">metrics.repl.stateTransition.</code><code class="descname">lastStateTransition</code><a class="headerlink" href="#serverstatus.metrics.repl.stateTransition.lastStateTransition" title="Permalink to this definition">¶</a></dt>
<dd><p>The transition being reported:</p>
<table border="1" class="colwidths-given docutils">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">State Change</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;stepUp&quot;</span></code></td>
<td>The member steps up to become a primary.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;stepDown&quot;</span></code></td>
<td>The member steps down to become a secondary.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal"><span class="pre">&quot;rollback&quot;</span></code></td>
<td>The member is actively performing a rollback.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">&quot;&quot;</span></code></td>
<td>If the member has not undergone any of the aforementioned
state change.</td>
</tr>
</tbody>
</table>
<div class="versionadded">
<p><span class="versionmodified">New in version 4.2.3.</span></p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stateTransition.userOperationsKilled">
<code class="descclassname">metrics.repl.stateTransition.</code><code class="descname">userOperationsKilled</code><a class="headerlink" href="#serverstatus.metrics.repl.stateTransition.userOperationsKilled" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of user operations killed during the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance’s state change.</p>
<div class="versionchanged">
<p><span class="versionmodified">Changed in version 4.2.3: </span>Previously named <code class="docutils literal"><span class="pre">metrics.repl.stepDown.userOperationsKilled</span></code>
when introduced in version 4.2 and tracked only user operations
killed during step down.</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stateTransition.userOperationsRunning">
<code class="descclassname">metrics.repl.stateTransition.</code><code class="descname">userOperationsRunning</code><a class="headerlink" href="#serverstatus.metrics.repl.stateTransition.userOperationsRunning" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of user operations that remained running during the
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> instance’s state change.</p>
<div class="versionchanged">
<p><span class="versionmodified">Changed in version 4.2.3: </span>Previously named <code class="docutils literal"><span class="pre">metrics.repl.stepDown.userOperationsRunning</span></code>
when introduced in version 4.2 and tracked only user operations
killed during step down.</p>
</div>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stepDown">
<code class="descclassname">metrics.repl.</code><code class="descname">stepDown</code><a class="headerlink" href="#serverstatus.metrics.repl.stepDown" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Removed in version 4.2.3.</em> See
<a class="reference internal" href="#serverstatus.metrics.repl.stateTransition" title="metrics.repl.stateTransition"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.stateTransition</span></code></a> instead.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stepDown.userOperationsKilled">
<code class="descclassname">metrics.repl.stepDown.</code><code class="descname">userOperationsKilled</code><a class="headerlink" href="#serverstatus.metrics.repl.stepDown.userOperationsKilled" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Removed in version 4.2.3.</em> See
<a class="reference internal" href="#serverstatus.metrics.repl.stateTransition.userOperationsKilled" title="metrics.repl.stateTransition.userOperationsKilled"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.stateTransition.userOperationsKilled</span></code></a>
instead.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.repl.stepDown.userOperationsRunning">
<code class="descclassname">metrics.repl.stepDown.</code><code class="descname">userOperationsRunning</code><a class="headerlink" href="#serverstatus.metrics.repl.stepDown.userOperationsRunning" title="Permalink to this definition">¶</a></dt>
<dd><p><em>Removed in version 4.2.3.</em> See
<a class="reference internal" href="#serverstatus.metrics.repl.stateTransition.userOperationsRunning" title="metrics.repl.stateTransition.userOperationsRunning"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.stateTransition.userOperationsRunning</span></code></a>
instead.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.storage.freelist.search.bucketExhausted">
<code class="descclassname">metrics.storage.freelist.search.</code><code class="descname">bucketExhausted</code><a class="headerlink" href="#serverstatus.metrics.storage.freelist.search.bucketExhausted" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times that <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> has checked the free list
without finding a suitably large record allocation.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.storage.freelist.search.requests">
<code class="descclassname">metrics.storage.freelist.search.</code><code class="descname">requests</code><a class="headerlink" href="#serverstatus.metrics.storage.freelist.search.requests" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> has searched for available
record allocations.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.storage.freelist.search.scanned">
<code class="descclassname">metrics.storage.freelist.search.</code><code class="descname">scanned</code><a class="headerlink" href="#serverstatus.metrics.storage.freelist.search.scanned" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of available record allocations <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a> has
searched.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.ttl">
<code class="descclassname">metrics.</code><code class="descname">ttl</code><a class="headerlink" href="#serverstatus.metrics.ttl" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that reports on the operation of the resource use of the
<a class="reference internal" href="../../tutorial/expire-data.html"><span class="doc">ttl index</span></a> process.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.ttl.deletedDocuments">
<code class="descclassname">metrics.ttl.</code><code class="descname">deletedDocuments</code><a class="headerlink" href="#serverstatus.metrics.ttl.deletedDocuments" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of documents deleted from collections with a
<a class="reference internal" href="../../tutorial/expire-data.html"><span class="doc">ttl index</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.ttl.passes">
<code class="descclassname">metrics.ttl.</code><code class="descname">passes</code><a class="headerlink" href="#serverstatus.metrics.ttl.passes" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times the background process removes documents from
collections with a <a class="reference internal" href="../../tutorial/expire-data.html"><span class="doc">ttl index</span></a>.</p>
</dd></dl>

<span class="target" id="server-status-metrics-cursor"></span><dl class="serverstatus">
<dt id="serverstatus.metrics.cursor">
<code class="descclassname">metrics.</code><code class="descname">cursor</code><a class="headerlink" href="#serverstatus.metrics.cursor" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that contains data regarding cursor state and use.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.timedOut">
<code class="descclassname">metrics.cursor.</code><code class="descname">timedOut</code><a class="headerlink" href="#serverstatus.metrics.cursor.timedOut" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of cursors that have timed out since the server
process started. If this number is large or growing at a regular
rate, this may indicate an application error.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open">
<code class="descclassname">metrics.cursor.</code><code class="descname">open</code><a class="headerlink" href="#serverstatus.metrics.cursor.open" title="Permalink to this definition">¶</a></dt>
<dd><p>A document that contains data regarding open cursors.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open.noTimeout">
<code class="descclassname">metrics.cursor.open.</code><code class="descname">noTimeout</code><a class="headerlink" href="#serverstatus.metrics.cursor.open.noTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of open cursors with the option
<a class="reference internal" href="../method/cursor.addOption.html#DBQuery.Option.noTimeout" title="DBQuery.Option.noTimeout"><code class="xref mongodb mongodb-data docutils literal"><span class="pre">DBQuery.Option.noTimeout</span></code></a> set to prevent timeout after a
period of inactivity.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open.pinned">
<code class="descclassname">metrics.cursor.open.</code><code class="descname">pinned</code><a class="headerlink" href="#serverstatus.metrics.cursor.open.pinned" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of “pinned” open cursors.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open.total">
<code class="descclassname">metrics.cursor.open.</code><code class="descname">total</code><a class="headerlink" href="#serverstatus.metrics.cursor.open.total" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of cursors that MongoDB is maintaining for clients.
Because MongoDB exhausts unused cursors, typically this value small
or zero. However, if there is a queue, stale tailable cursors, or a
large number of operations this value may rise.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open.singleTarget">
<code class="descclassname">metrics.cursor.open.</code><code class="descname">singleTarget</code><a class="headerlink" href="#serverstatus.metrics.cursor.open.singleTarget" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of cursors that only target a <em>single</em> shard. Only
<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instances report
<a class="reference internal" href="#serverstatus.metrics.cursor.open.singleTarget" title="metrics.cursor.open.singleTarget"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.cursor.open.singleTarget</span></code></a> values.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.metrics.cursor.open.multiTarget">
<code class="descclassname">metrics.cursor.open.</code><code class="descname">multiTarget</code><a class="headerlink" href="#serverstatus.metrics.cursor.open.multiTarget" title="Permalink to this definition">¶</a></dt>
<dd><p>The total number of cursors that only target <em>more than one</em> shard.
Only <a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a> instances report
<a class="reference internal" href="#serverstatus.metrics.cursor.open.multiTarget" title="metrics.cursor.open.multiTarget"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.cursor.open.multiTarget</span></code></a> values.</p>
</dd></dl>

</div>
<div class="section" id="watchdog">
<h3>watchdog<a class="headerlink" href="#watchdog" title="Permalink to this headline">¶</a></h3>
<div class="versionadded">
<p><span class="versionmodified">New in version 3.6.</span></p>
</div>
<div class="button-code-block">
<div class="button-row">
<a class="code-button--copy code-button" role="button">
copy</a>
</div>
<div class="copyable-code-block highlight-javascript"><div class="highlight"><pre><span></span><span class="s2">&quot;watchdog&quot;</span> <span class="o">:</span> <span class="p">{</span>
   <span class="s2">&quot;checkGeneration&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;monitorGeneration&quot;</span> <span class="o">:</span> <span class="nx">NumberLong</span><span class="p">(</span><span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span><span class="p">),</span>
   <span class="s2">&quot;monitorPeriod&quot;</span> <span class="o">:</span> <span class="o">&lt;</span><span class="nx">num</span><span class="o">&gt;</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The <code class="docutils literal"><span class="pre">watchdog</span></code> section is only present if the <a class="reference internal" href="../../administration/monitoring.html#storage-node-watchdog"><span class="std std-ref">Storage Node Watchdog</span></a> is enabled.</p>
</div>
<dl class="serverstatus">
<dt id="serverstatus.watchdog">
<code class="descname">watchdog</code><a class="headerlink" href="#serverstatus.watchdog" title="Permalink to this definition">¶</a></dt>
<dd><p>A document reporting the status of the
<a class="reference internal" href="../../administration/monitoring.html#storage-node-watchdog"><span class="std std-ref">Storage Node Watchdog</span></a>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.watchdog.checkGeneration">
<code class="descclassname">watchdog.</code><code class="descname">checkGeneration</code><a class="headerlink" href="#serverstatus.watchdog.checkGeneration" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times the directories have been checked since startup.
Directories are checked multiple times every <code class="docutils literal"><span class="pre">monitoringPeriod</span></code>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.watchdog.monitorGeneration">
<code class="descclassname">watchdog.</code><code class="descname">monitorGeneration</code><a class="headerlink" href="#serverstatus.watchdog.monitorGeneration" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of times the status of all filesystems used by <a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>
has been checked. This is incremented once every <code class="docutils literal"><span class="pre">monitoringPeriod</span></code>.</p>
</dd></dl>

<dl class="serverstatus">
<dt id="serverstatus.watchdog.monitorPeriod">
<code class="descclassname">watchdog.</code><code class="descname">monitorPeriod</code><a class="headerlink" href="#serverstatus.watchdog.monitorPeriod" title="Permalink to this definition">¶</a></dt>
<dd><p>The value set by <a class="reference internal" href="../parameters.html#param.watchdogPeriodSeconds" title="watchdogPeriodSeconds"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">watchdogPeriodSeconds</span></code></a>. This represents the
period in between status checks.</p>
</dd></dl>

</div>
</div>
<div class="section" id="output-changelog">
<h2>Output Changelog<a class="headerlink" href="#output-changelog" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Starting in MongoDB 4.2.2, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a>:<ul>
<li>Added new transaction metrics in <a class="reference internal" href="#serverstatus.transactions" title="transactions"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions</span></code></a> for
<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>:<ul>
<li><a class="reference internal" href="#serverstatus.transactions.currentOpen" title="transactions.currentOpen"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions.currentOpen</span></code></a></li>
<li><a class="reference internal" href="#serverstatus.transactions.currentActive" title="transactions.currentActive"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions.currentActive</span></code></a></li>
<li><a class="reference internal" href="#serverstatus.transactions.currentInactive" title="transactions.currentInactive"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions.currentInactive</span></code></a></li>
</ul>
</li>
</ul>
</li>
<li>Starting in MongoDB 4.2.1 (and 4.0.13), <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> includes:<ul>
<li><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">electionMetrics</span></code></li>
</ul>
</li>
<li>Starting in MongoDB 4.2, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a>:<ul>
<li>Returns <a class="reference internal" href="#serverstatus.opcounters" title="opcounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcounters</span></code></a> and
<a class="reference internal" href="#serverstatus.opcountersRepl" title="opcountersRepl"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opcountersRepl</span></code></a> metrics as 64-bit integers (i.e.
NumberLong) instead of 32-bit integers (i.e. NumberInt).</li>
<li>Includes <code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">trafficRecording</span></code> metrics in its output.</li>
<li>Added new document count (<code class="docutils literal"><span class="pre">countDocs</span></code>) metrics in
<a class="reference internal" href="#serverstatus.shardingStatistics" title="shardingStatistics"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">shardingStatistics</span></code></a>.</li>
<li>Added new unacknowledged writes counts to
<a class="reference internal" href="#serverstatus.metrics.repl.network" title="metrics.repl.network"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.network</span></code></a>.</li>
<li>Added new user operations counts to
<a class="reference internal" href="#serverstatus.metrics.repl.stepDown" title="metrics.repl.stepDown"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.stepDown</span></code></a>.</li>
<li>Added new transaction metrics in <a class="reference internal" href="#serverstatus.transactions" title="transactions"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions</span></code></a> for
<a class="reference internal" href="../program/mongod.html#bin.mongod" title="bin.mongod"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongod</span></code></a>.</li>
<li>Includes <a class="reference internal" href="#serverstatus.transactions" title="transactions"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">transactions</span></code></a> metrics for
<a class="reference internal" href="../program/mongos.html#bin.mongos" title="bin.mongos"><code class="xref mongodb mongodb-binary docutils literal"><span class="pre">mongos</span></code></a>.</li>
<li>Added
<a class="reference internal" href="#serverstatus.logicalSessionRecordCache.sessionCatalogSize" title="logicalSessionRecordCache.sessionCatalogSize"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">sessionCatalogSize</span></code></a>
metric to <a class="reference internal" href="#serverstatus.logicalSessionRecordCache" title="logicalSessionRecordCache"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">logicalSessionRecordCache</span></code></a>.</li>
<li>Added
<a class="reference internal" href="#serverstatus.shardingStatistics.countDonorMoveChunkLockTimeout" title="shardingStatistics.countDonorMoveChunkLockTimeout"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">countDonorMoveChunkLockTimeout</span></code></a>
metric to <a class="reference internal" href="#serverstatus.shardingStatistics" title="shardingStatistics"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">shardingStatistics</span></code></a>.</li>
<li>Added <code class="docutils literal"><span class="pre">ReplicationStateTransition</span></code> lock information to
<a class="reference internal" href="#serverstatus.locks" title="locks"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">locks</span></code></a>.</li>
<li>Reports <code class="docutils literal"><span class="pre">ParallelBatchWriterMode</span></code> lock information separately from
<code class="docutils literal"><span class="pre">Global</span></code> lock information.  See <a class="reference internal" href="#serverstatus.locks" title="locks"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">locks</span></code></a>.</li>
</ul>
</li>
<li>Starting in MongoDB 4.0.6, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> includes:<ul>
<li><a class="reference internal" href="#serverstatus.opReadConcernCounters" title="opReadConcernCounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opReadConcernCounters</span></code></a></li>
<li><a class="reference internal" href="#serverstatus.opWriteConcernCounters" title="opWriteConcernCounters"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">opWriteConcernCounters</span></code></a> (Requires
<a class="reference internal" href="../parameters.html#param.reportOpWriteConcernCountersInServerStatus" title="reportOpWriteConcernCountersInServerStatus"><code class="xref mongodb mongodb-parameter docutils literal"><span class="pre">reportOpWriteConcernCountersInServerStatus</span></code></a> parameter
set to <code class="docutils literal"><span class="pre">true</span></code>).</li>
<li><a class="reference internal" href="#serverstatus.metrics.repl.apply.batchSize" title="metrics.repl.apply.batchSize"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">metrics.repl.apply.batchSize</span></code></a></li>
</ul>
</li>
<li>Starting in MongoDB 4.0, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> includes
<a class="reference internal" href="#serverstatus.shardingStatistics" title="shardingStatistics"><code class="xref mongodb mongodb-serverstatus docutils literal"><span class="pre">shardingStatistics</span></code></a> in its output.</li>
<li>Starting in MongoDB 3.6, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> no longer outputs the
<code class="docutils literal"><span class="pre">rangeDeleter</span></code> section.</li>
<li>Starting in MongoDB 3.0, <a class="reference internal" href="#dbcmd.serverStatus" title="serverStatus"><code class="xref mongodb mongodb-dbcommand docutils literal"><span class="pre">serverStatus</span></code></a> no longer outputs the
<code class="docutils literal"><span class="pre">workingSet</span></code>, <code class="docutils literal"><span class="pre">indexCounters</span></code>, and <code class="docutils literal"><span class="pre">recordStats</span></code> sections.</li>
</ul>
</div>
</div>

                
    <div id="btnv">
      <span class="btn-arrow-left">&larr; &nbsp;</span>
      <a class="btn-prev-text" href="profile.html" title="Previous Section: profile"><span>profile</span></a>
      <a class="btn-next-text" href="shardConnPoolStats.html" title="Next Section: shardConnPoolStats"><span>shardConnPoolStats</span></a>
      <span class="btn-arrow-right">&nbsp;&rarr;</span>
    </div>
                  <div class="footer">
                    <div class="copyright">
                      <p>&copy; MongoDB, Inc 2008-present. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.</p>
                    </div>
                  </div>
              </div></div>
            </div>
        </div>
    </div>
    <div class="right-column">
      <div class="wrapper"> <div id='mongodb-docs-1'>
   <script type='text/javascript'>
      googletag.cmd.push(function() { googletag.display('mongodb-docs-1'); });
   </script>
</div>
            <div class="social">
               <a class="slack-icon" href="https://slackpass.io/mongo-db?jmp=docs" title="https://slackpass.io/mongo-db?jmp=docs"><i class="fab fa-slack" aria-hidden="true"></i></a>
               <a class="twitter-icon" href="https://twitter.com/MongoDB" title="https://twitter.com/MongoDB"><i class="fab fa-twitter-square"></i></a>
               <a class="youtube-icon" href="https://www.youtube.com/user/MongoDB" title="https://www.youtube.com/user/MongoDB"><i class="fab fa-youtube-square"></i></a>
               <a class="facebook-icon" href="https://www.facebook.com/mongodb" title="https://www.facebook.com/mongodb"><i class="fab fa-facebook-square"></i></a>
               <a class="stack-overflow-icon" href="https://stackoverflow.com/tags/mongodb/info" title="https://stackoverflow.com/tags/mongodb/info"><i class="fab fa-stack-overflow" aria-hidden="true"></i></a>
            </div>
        

      </div>
    </div>
    
      <div id="rating-panel"></div>
    
    <div class="clearfix"></div>
  </div>
  

  <script type="text/javascript">
  // Bootstrap array of links that should trigger a full page reload
  window.docsExcludedNav = ['/administration', '/administration/production-checklist', '/administration/indexes-management', '/aggregation', '/applications/geospatial-indexes', '/applications/indexes', '/contributors/getting-started', '/core/2d', '/core/2dsphere', '/core/auditing', '/core/authentication', '/core/authorization', '/core/backups', '/core/read-isolation-consistency-recency', '/core/databases-and-collections', '/core/geohaystack', '/core/index-single', '/core/index-compound', '/core/index-creation', '/core/index-hashed', '/core/index-multikey', '/core/index-partial', '/core/index-sparse', '/core/index-text', '/core/index-ttl', '/core/index-unique', '/core/index-wildcard', '/core/journaling', '/core/kerberos', '/core/map-reduce', '/core/operational-segregation', '/core/query-optimization', '/core/read-preference', '/core/replica-set-architectures', '/core/replica-set-high-availability', '/core/replica-set-members', '/core/replica-set-secondary', '/core/transactions', '/geospatial-queries', '/replication', '/core/sharded-cluster-components', '/core/wiredtiger', '/core/write-operations-atomicity', '/crud', '/indexes', '/installation', '/introduction', '/mongo', '/products/bi-connector', '/reference/command', '/reference/collation', '/text-search', '/tutorial/manage-the-database-profiler', '/core/index-text', '/reference/bson-types', '/reference/configuration-options', '/reference/indexes', '/reference/method', '/reference/operator/aggregation', '/reference/operator/query', '/reference/operator/query-modifier', '/reference/operator/update', '/reference/replication', '/reference/read-concern', '/reference/security', '/reference/sharding', '/reference/write-concern', '/release-notes/2.4', '/release-notes/2.6', '/release-notes/2.8', '/release-notes/3.0', '/release-notes/3.2', '/release-notes/3.4', '/release-notes/3.6', '/release-notes/4.0', '/release-notes/4.2', '/security', '/sharding', '/changeStreams', '/core/zone-sharding', '/core/hashed-sharding', '/core/ranged-sharding', '/storage', '/tutorial/change-sharded-cluster-wiredtiger', '/tutorial/insert-documents', '/tutorial/query-documents', '/tutorial/remove-documents', '/tutorial/update-documents', '/tutorial/enable-authentication', '/tutorial/install-mongodb-on-ubuntu', '/tutorial/install-mongodb-on-windows', '/tutorial/install-mongodb-on-red-hat', '/tutorial/install-mongodb-on-debian', '/tutorial/install-mongodb-on-suse', '/tutorial/install-mongodb-on-amazon', '/tutorial/install-mongodb-enterprise-on-ubuntu', '/tutorial/install-mongodb-enterprise-on-windows', '/tutorial/install-mongodb-enterprise-on-red-hat', '/tutorial/install-mongodb-enterprise-on-debian', '/tutorial/install-mongodb-enterprise-on-suse', '/tutorial/install-mongodb-enterprise-on-amazon', '/tutorial/install-mongodb-on-os-x'];
  </script></body>
</html>